diff --git a/sdk/communication/Azure.Communication.Chat/README.md b/sdk/communication/Azure.Communication.Chat/README.md index 82e352ff6a88..986e4971179e 100644 --- a/sdk/communication/Azure.Communication.Chat/README.md +++ b/sdk/communication/Azure.Communication.Chat/README.md @@ -1,7 +1,7 @@ # Azure Communication Chat client library for .NET -> Server Version: -Chat client: 2020-09-21-preview2 +> Server - Chat Api Version: 2020-11-01-preview3 +> Client - Chat SDK Version: 1.0.0-beta.3 This package contains a C# SDK for Azure Communication Services for chat. @@ -14,7 +14,7 @@ This package contains a C# SDK for Azure Communication Services for chat. Install the Azure Communication Chat client library for .NET with [NuGet][nuget]: ```PowerShell -dotnet add package Azure.Communication.Chat --version 1.0.0-beta.2 +dotnet add package Azure.Communication.Chat --version 1.0.0-beta.3 ``` ### Prerequisites @@ -54,19 +54,19 @@ ChatClient chatClient = new ChatClient( ### Create a ChatThreadClient -The ChatThreadClient will allow you to perform operations specific to a chat thread, like update the chat thread topic, send a message, add members to the chat thread, etc. +The ChatThreadClient will allow you to perform operations specific to a chat thread, like update the chat thread topic, send a message, add participants to the chat thread, etc. You can instantiate a new ChatThreadClient instance using the ChatClient: ```C# Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient -ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", members); +ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", participants); // Alternatively, if you have created a chat thread before and you have its threadId, you can create a ChatThreadClient instance using: ChatThreadClient chatThreadClient2 = chatClient.GetChatThreadClient("threadId"); ``` ## Key concepts -A chat conversation is represented by a thread. Each user in the thread is called a thread member. Thread members can chat with one another privately in a 1:1 chat or huddle up in a 1:N group chat. Users also get near-real time updates for when others are typing and when they have read the messages. +A chat conversation is represented by a thread. Each user in the thread is called a thread participant. Thread participants can chat with one another privately in a 1:1 chat or huddle up in a 1:N group chat. Users also get near-real time updates for when others are typing and when they have read the messages. Once you initialized a `ChatClient` class, you can do the following chat operations: @@ -91,12 +91,12 @@ Once you initialized a `ChatThreadClient` class, you can do the following chat o ### Update a thread ```C# Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread -chatThreadClient.UpdateThread(topic: "Launch meeting"); +chatThreadClient.UpdateTopic(topic: "Launch meeting"); ``` ### Send a message ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage -SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("Let's meet at 11am"); +string messageId = chatThreadClient.SendMessage("Let's meet at 11am"); ``` ### Update a message ```C# Snippet:Azure_Communication_Chat_Tests_E2E_UpdateMessage @@ -114,17 +114,17 @@ Pageable messages = chatThreadClient.GetMessages(); ```C# Snippet:Azure_Communication_Chat_Tests_E2E_DeleteMessage chatThreadClient.DeleteMessage(messageId); ``` -### Get a list of members -```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers -Pageable chatThreadMembers = chatThreadClient.GetMembers(); +### Get a list of participants +```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants +Pageable chatParticipants = chatThreadClient.GetParticipants(); ``` -### Add members -```C# Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers -chatThreadClient.AddMembers(members: new[] { newMember }); +### Add participants +```C# Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants +chatThreadClient.AddParticipants(participants: new[] { newParticipant }); ``` -### Remove a member -```C# Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember -chatThreadClient.RemoveMember(user: memberToBeRemoved); +### Remove a participant +```C# Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant +chatThreadClient.RemoveParticipant(user: participantToBeRemoved); ``` ### Send a typing notification ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendTypingNotification @@ -132,7 +132,7 @@ chatThreadClient.SendTypingNotification(); ``` ### Get a list of read receipts ```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts -Pageable readReceipts = chatThreadClient.GetReadReceipts(); +Pageable readReceipts = chatThreadClient.GetReadReceipts(); ``` ### Send a read receipt ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendReadReceipt @@ -144,7 +144,7 @@ The following sections provide several code snippets covering some of the most c - [Thread Operations](#thread-operations) - [Message Operations](#message-operations) -- [Thread Member Operations](#thread-member-operations) +- [Thread Participant Operations](#thread-participant-operations) - [Events Operations](#events-operations) ## Thread Operations @@ -153,14 +153,14 @@ The following sections provide several code snippets covering some of the most c Use `CreateChatThread` to create a chat thread client object. - Use `topic` to give a thread topic. -- The following are the supported attributes for each thread member: - - `communicationUser`, required, it is the identification for the thread member. - - `displayName`, optional, is the display name for the thread member - - `shareHistoryTime`, optional, time from which the chat history is shared with the member. +- The following are the supported attributes for each thread participant: + - `communicationUser`, required, it is the identification for the thread participant. + - `displayName`, optional, is the display name for the thread participant + - `shareHistoryTime`, optional, time from which the chat history is shared with the participant. `ChatThreadClient` is the result returned from creating a thread, you can use it to perform other operations on the chat thread. -**Important:** Make sure the user creating the chat thread is explicitely added to the list of members, otherwise the creation call will fail. +**Important:** Make sure the user creating the chat thread is explicitely added to the list of participants, otherwise the creation call will fail. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_CreateChatClient ChatClient chatClient = new ChatClient( @@ -168,11 +168,11 @@ ChatClient chatClient = new ChatClient( new CommunicationUserCredential(userToken)); ``` ```C# Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread -var chatThreadMember = new ChatThreadMember(new CommunicationUser(threadCreatorId)) +var chatParticipant = new ChatParticipant(new CommunicationUser(threadCreatorId)) { DisplayName = "UserDisplayName" }; -ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); +ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; ``` ### Get a thread @@ -184,9 +184,9 @@ Use `GetChatThread` to retrieve a chat thread from the service. ChatThread chatThread = await chatClient.GetChatThreadAsync(threadId); ``` -### Get threads (for a member) +### Get threads (for a participant) -Use `GetChatThreadsInfo` to get the list of chat threads for the member that instantiated the chatClient. +Use `GetChatThreadsInfo` to get the list of chat threads for the participant that instantiated the chatClient. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetThreads AsyncPageable chatThreadsInfo = chatClient.GetChatThreadsInfoAsync(); @@ -207,12 +207,12 @@ await chatClient.DeleteChatThreadAsync(threadId); ### Update a thread -Use `UpdateChatThread` to update the chat thread properties. +Use `UpdateTopic` to update the chat thread topic. - `topic` is used to describe the updated topic for the thread. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread var topic = "new topic"; -await chatThreadClient.UpdateThreadAsync(topic); +await chatThreadClient.UpdateTopicAsync(topic); ``` ## Message Operations @@ -231,7 +231,7 @@ Use `SendMessage` to send a message to a thread. var content = "hello world"; var priority = ChatMessagePriority.Normal; var senderDisplayName = "sender name"; -SendChatMessageResult sendMessageResult = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); +var messageId = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); ``` ### Get a message @@ -272,43 +272,43 @@ Use `DeleteMessage` to delete a message. await chatThreadClient.DeleteMessageAsync(messageId); ``` -## Thread Member Operations +## Thread Participant Operations -### Get thread members +### Get thread participants -Use `GetMembers` to retrieve the members of the chat thread. +Use `GetParticipants` to retrieve the participants of the chat thread. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetMembers -AsyncPageable allMembers = chatThreadClient.GetMembersAsync(); -await foreach (ChatThreadMember member in allMembers) +```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetParticipants +AsyncPageable allParticipants = chatThreadClient.GetParticipantsAsync(); +await foreach (ChatParticipant participant in allParticipants) { - Console.WriteLine($"{member.User.Id}:{member.DisplayName}:{member.ShareHistoryTime}"); + Console.WriteLine($"{participant.User.Id}:{participant.DisplayName}:{participant.ShareHistoryTime}"); } ``` -### Add thread members +### Add thread participants -Use `AddMembers` to add members to the chat thread. The following are the supported attributes for each thread member: -- `communicationUser`, required, it is the identification for the thread member. -- `displayName`, optional, is the display name for the thread member. -- `shareHistoryTime`, optional, time from which the chat history is shared with the member. +Use `AddParticipants` to add participants to the chat thread. The following are the supported attributes for each thread participant: +- `communicationUser`, required, it is the identification for the thread participant. +- `displayName`, optional, is the display name for the thread participant. +- `shareHistoryTime`, optional, time from which the chat history is shared with the participant. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers -var members = new[] +```C# Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants +var participants = new[] { - new ChatThreadMember(new CommunicationUser(memberId1)) { DisplayName ="display name member 1"}, - new ChatThreadMember(new CommunicationUser(memberId2)) { DisplayName ="display name member 2"}, - new ChatThreadMember(new CommunicationUser(memberId3)) { DisplayName ="display name member 3"} + new ChatParticipant(new CommunicationUser(participantId1)) { DisplayName ="display name participant 1"}, + new ChatParticipant(new CommunicationUser(participantId2)) { DisplayName ="display name participant 2"}, + new ChatParticipant(new CommunicationUser(participantId3)) { DisplayName ="display name participant 3"} }; -await chatThreadClient.AddMembersAsync(members); +await chatThreadClient.AddParticipantsAsync(participants); ``` -### Remove thread member +### Remove thread participant -Use `RemoveMember` to remove a thread member from the thread. -`communicationUser` is the identification of the chat member. +Use `RemoveParticipant` to remove a thread participant from the thread. +`communicationUser` is the identification of the chat participant. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember -await chatThreadClient.RemoveMemberAsync(new CommunicationUser(memberId)); +```C# Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant +await chatThreadClient.RemoveParticipantAsync(new CommunicationUser(participantId)); ``` ## Events Operations @@ -323,7 +323,7 @@ await chatThreadClient.SendTypingNotificationAsync(); ### Send read receipt -Use `SendReadReceipt` to notify other members that the message is read by the user. +Use `SendReadReceipt` to notify other participants that the message is read by the user. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_SendReadReceipt await chatThreadClient.SendReadReceiptAsync(messageId); @@ -331,11 +331,11 @@ await chatThreadClient.SendReadReceiptAsync(messageId); ### Get read receipts -Use `GetReadReceipts` to check the status of messages to see which ones are read by other members of a chat thread. +Use `GetReadReceipts` to check the status of messages to see which ones are read by other participants of a chat thread. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetReadReceipts -AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); -await foreach (ReadReceipt readReceipt in allReadReceipts) +AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); +await foreach (ChatMessageReadReceipt readReceipt in allReadReceipts) { Console.WriteLine($"{readReceipt.ChatMessageId}:{readReceipt.Sender.Id}:{readReceipt.ReadOn}"); } @@ -347,7 +347,7 @@ A `RequestFailedException` is thrown as a service response for any unsuccessful ```C# Snippet:Azure_Communication_Chat_Tests_Samples_Troubleshooting try { - ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); } catch (RequestFailedException ex) { diff --git a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs index a4d4bac2c53a..66ee90d1556b 100644 --- a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs @@ -4,8 +4,8 @@ public partial class ChatClient { protected ChatClient() { } public ChatClient(System.Uri endpointUrl, Azure.Communication.Identity.CommunicationUserCredential communicationUserCredential, Azure.Communication.Chat.ChatClientOptions? options = null) { } - public virtual Azure.Communication.Chat.ChatThreadClient CreateChatThread(string topic, System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Communication.Chat.ChatThreadClient CreateChatThread(string topic, System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteChatThread(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteChatThreadAsync(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetChatThread(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -55,66 +55,69 @@ internal ChatMessage() { } public static bool operator !=(Azure.Communication.Chat.ChatMessagePriority left, Azure.Communication.Chat.ChatMessagePriority right) { throw null; } public override string ToString() { throw null; } } + public partial class ChatMessageReadReceipt + { + internal ChatMessageReadReceipt() { } + public string ChatMessageId { get { throw null; } } + public System.DateTimeOffset? ReadOn { get { throw null; } } + public Azure.Communication.CommunicationUser Sender { get { throw null; } } + } + public partial class ChatParticipant + { + public ChatParticipant(Azure.Communication.CommunicationUser communicationUser) { } + public string? DisplayName { get { throw null; } set { } } + public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } + public Azure.Communication.CommunicationUser User { get { throw null; } set { } } + } public partial class ChatThread { internal ChatThread() { } public Azure.Communication.CommunicationUser CreatedBy { get { throw null; } } public System.DateTimeOffset? CreatedOn { get { throw null; } } public string Id { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Members { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Participants { get { throw null; } } public string Topic { get { throw null; } } } public partial class ChatThreadClient { protected ChatThreadClient() { } public virtual string Id { get { throw null; } } - public virtual Azure.Response AddMembers(System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task AddMembersAsync(System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddParticipant(Azure.Communication.Chat.ChatParticipant participant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddParticipantAsync(Azure.Communication.Chat.ChatParticipant participant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddParticipants(System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddParticipantsAsync(System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteMessage(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetMembers(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetMembersAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetMessage(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetMessages(System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetMessagesAsync(System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetReadReceipts(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetReadReceiptsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RemoveMember(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task RemoveMemberAsync(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SendMessage(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SendMessageAsync(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetParticipants(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetParticipantsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetReadReceipts(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetReadReceiptsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveParticipant(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task RemoveParticipantAsync(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendMessage(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SendMessageAsync(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendReadReceipt(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SendReadReceiptAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendTypingNotification(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SendTypingNotificationAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateMessage(string messageId, string content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateMessageAsync(string messageId, string content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateThread(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateThreadAsync(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTopic(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task UpdateTopicAsync(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ChatThreadInfo { internal ChatThreadInfo() { } + public System.DateTimeOffset? DeletedOn { get { throw null; } } public string Id { get { throw null; } } public bool? IsDeleted { get { throw null; } } public System.DateTimeOffset? LastMessageReceivedOn { get { throw null; } } public string Topic { get { throw null; } } } - public partial class ChatThreadMember - { - public ChatThreadMember(Azure.Communication.CommunicationUser communicationUser) { } - public string? DisplayName { get { throw null; } set { } } - public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } - public Azure.Communication.CommunicationUser User { get { throw null; } set { } } - } - public partial class ReadReceipt - { - internal ReadReceipt() { } - public string ChatMessageId { get { throw null; } } - public System.DateTimeOffset? ReadOn { get { throw null; } } - public Azure.Communication.CommunicationUser Sender { get { throw null; } } - } public partial class SendChatMessageResult { internal SendChatMessageResult() { } @@ -126,8 +129,8 @@ namespace Azure.Communication.Chat.Models public static partial class ChatModelFactory { public static Azure.Communication.Chat.ChatMessage ChatMessage(string id, string type, Azure.Communication.Chat.ChatMessagePriority? priority, string version, string content, string senderDisplayName, System.DateTimeOffset? createdOn, string senderId, System.DateTimeOffset? deletedOn, System.DateTimeOffset? editedOn) { throw null; } - public static Azure.Communication.Chat.ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, System.DateTimeOffset? lastMessageReceivedOn) { throw null; } - public static Azure.Communication.Chat.ReadReceipt ReadReceipt(string senderId, string chatMessageId, System.DateTimeOffset? readOn) { throw null; } + public static Azure.Communication.Chat.ChatMessageReadReceipt ChatMessageReadReceipt(string senderId, string chatMessageId, System.DateTimeOffset? readOn) { throw null; } + public static Azure.Communication.Chat.ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, System.DateTimeOffset? deletedOn, System.DateTimeOffset? lastMessageReceivedOn) { throw null; } public static Azure.Communication.Chat.SendChatMessageResult SendChatMessageResult(string id) { throw null; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj b/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj index d7c0a4700551..c2ef4579054d 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj +++ b/sdk/communication/Azure.Communication.Chat/src/Azure.Communication.Chat.csproj @@ -1,4 +1,4 @@ - + diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs b/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs index 42724ca837cd..a2cdc5d316cb 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs @@ -23,7 +23,6 @@ public class ChatClient private readonly Uri _endpointUrl; private readonly CommunicationUserCredential _communicationUserCredential; private readonly ChatClientOptions _chatClientOptions; - private const string MultiStatusThreadResourceType = "THREAD"; /// Initializes a new instance of . /// The uri for the Azure Communication Services Chat. @@ -54,18 +53,18 @@ protected ChatClient() #region Thread Operations /// Creates a ChatThreadClient asynchronously. . /// Topic for the chat thread - /// Members to be included in the chat thread + /// Participants to be included in the chat thread /// The cancellation token for the task. /// The server returned an error. See for details returned from the server. [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "AZC0015:Unexpected client method return type.", Justification = "ChatThreadClient needs to be created by the ChatClient parent object")] - public virtual async Task CreateChatThreadAsync(string topic, IEnumerable members, CancellationToken cancellationToken = default) + public virtual async Task CreateChatThreadAsync(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatClient)}.{nameof(CreateChatThread)}"); scope.Start(); try { - Response threadResponse = await _chatRestClient.CreateChatThreadAsync(topic, members.Select(x => x.ToChatThreadMemberInternal()), cancellationToken).ConfigureAwait(false); - string threadId = threadResponse.Value.MultipleStatus.First(x => x.Type.ToUpperInvariant() == MultiStatusThreadResourceType).Id; + Response threadResponse = await _chatRestClient.CreateChatThreadAsync(topic, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken).ConfigureAwait(false); + string threadId = threadResponse.Value.Id; return new ChatThreadClient(threadId, _endpointUrl, _communicationUserCredential, _chatClientOptions); } catch (Exception ex) @@ -77,17 +76,17 @@ public virtual async Task CreateChatThreadAsync(string topic, /// Creates a ChatThreadClient synchronously.. /// Topic for the chat thread - /// Members to be included in the chat thread + /// Participants to be included in the chat thread /// The cancellation token for the task. /// The server returned an error. See for details returned from the server. - public virtual ChatThreadClient CreateChatThread(string topic, IEnumerable members, CancellationToken cancellationToken = default) + public virtual ChatThreadClient CreateChatThread(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatClient)}.{nameof(CreateChatThread)}"); scope.Start(); try { - Response threadResponse = _chatRestClient.CreateChatThread(topic, members.Select(x=>x.ToChatThreadMemberInternal()), cancellationToken); - string threadId = threadResponse.Value.MultipleStatus.First(x => x.Type.ToUpperInvariant() == MultiStatusThreadResourceType).Id; + Response threadResponse = _chatRestClient.CreateChatThread(topic, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken); + string threadId = threadId = threadResponse.Value.Id; return new ChatThreadClient(threadId, _endpointUrl, _communicationUserCredential, _chatClientOptions); } catch (Exception ex) diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs b/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs index c85e527b0438..d7a3d7812b51 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs @@ -25,7 +25,7 @@ public ChatClientOptions(ServiceVersion version = LatestVersion) { ApiVersion = version switch { - ServiceVersion.V1 => "2020-09-21-preview2", + ServiceVersion.V1 => "2020-11-01-preview3", _ => throw new ArgumentOutOfRangeException(nameof(version)), }; } diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs b/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs index 7431e4f47cec..1a4478d86174 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs @@ -53,13 +53,13 @@ protected ChatThreadClient() } #region Thread Operations - /// Updates thread's properties asynchronously. + /// Updates the thread's topic asynchronously. /// Chat thread topic. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task UpdateThreadAsync(string topic, CancellationToken cancellationToken = default) + public virtual async Task UpdateTopicAsync(string topic, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateThread)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateTopic)}"); scope.Start(); try { @@ -72,13 +72,13 @@ public virtual async Task UpdateThreadAsync(string topic, Cancellation } } - /// Updates thread's properties. + /// Updates the thread's topic. /// Chat thread topic. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response UpdateThread(string topic, CancellationToken cancellationToken = default) + public virtual Response UpdateTopic(string topic, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateThread)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateTopic)}"); scope.Start(); try { @@ -99,13 +99,14 @@ public virtual Response UpdateThread(string topic, CancellationToken cancellatio /// The display name of the message sender. This property is used to populate sender name for push notifications. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task> SendMessageAsync(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) + public virtual async Task> SendMessageAsync(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(SendMessage)}"); scope.Start(); try { - return await _chatRestClient.SendChatMessageAsync(Id, content, priority, senderDisplayName, cancellationToken).ConfigureAwait(false); + Response sendChatMessageResult = await _chatRestClient.SendChatMessageAsync(Id, content, priority, senderDisplayName, cancellationToken).ConfigureAwait(false); + return Response.FromValue(sendChatMessageResult.Value.Id, sendChatMessageResult.GetRawResponse()); } catch (Exception ex) { @@ -120,13 +121,14 @@ public virtual async Task> SendMessageAsync(stri /// The display name of the message sender. This property is used to populate sender name for push notifications. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response SendMessage(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) + public virtual Response SendMessage(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(SendMessage)}"); scope.Start(); try { - return _chatRestClient.SendChatMessage(Id, content, priority, senderDisplayName, cancellationToken); + Response sendChatMessageResult = _chatRestClient.SendChatMessage(Id, content, priority, senderDisplayName, cancellationToken); + return Response.FromValue(sendChatMessageResult.Value.Id, sendChatMessageResult.GetRawResponse()); } catch (Exception ex) { @@ -336,18 +338,18 @@ public virtual Response DeleteMessage(string messageId, CancellationToken cancel } #endregion - #region Member Operations - /// Adds thread members to a thread asynchronously. If members already exist, no change occurs. - /// Members to add to a chat thread. + #region Participants Operations + /// Adds a participant to a thread asynchronously. If the participant already exist, no change occurs. + /// Participant to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task AddMembersAsync(IEnumerable members, CancellationToken cancellationToken = default) + public virtual async Task AddParticipantAsync(ChatParticipant participant, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddMembers)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipant)}"); scope.Start(); try { - return await _chatRestClient.AddChatThreadMembersAsync(Id, members.Select(x=>x.ToChatThreadMemberInternal()), cancellationToken).ConfigureAwait(false); + return await _chatRestClient.AddChatParticipantsAsync(Id, new[] { participant.ToChatParticipantInternal() }, cancellationToken).ConfigureAwait(false); } catch (Exception ex) { @@ -356,17 +358,17 @@ public virtual async Task AddMembersAsync(IEnumerable Adds thread members to a thread. If members already exist, no change occurs. - /// Members to add to a chat thread. + /// Adds participants to a thread. If participants already exist, no change occurs. + /// Participants to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response AddMembers(IEnumerable members, CancellationToken cancellationToken = default) + public virtual Response AddParticipant(ChatParticipant participant, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddMembers)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipant)}"); scope.Start(); try { - return _chatRestClient.AddChatThreadMembers(Id, members.Select(x => x.ToChatThreadMemberInternal()), cancellationToken); + return _chatRestClient.AddChatParticipants(Id, new[] { participant.ToChatParticipantInternal() }, cancellationToken); } catch (Exception ex) { @@ -375,20 +377,58 @@ public virtual Response AddMembers(IEnumerable members, Cancel } } - /// Gets the members of a thread asynchronously. + /// Adds participants to a thread asynchronously. If participants already exist, no change occurs. + /// Participants to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual AsyncPageable GetMembersAsync(CancellationToken cancellationToken = default) + public virtual async Task AddParticipantsAsync(IEnumerable participants, CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipants)}"); + scope.Start(); + try { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetMessages)}"); + return await _chatRestClient.AddChatParticipantsAsync(Id, participants.Select(x=>x.ToChatParticipantInternal()), cancellationToken).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Adds participants to a thread. If participants already exist, no change occurs. + /// Participants to add to a chat thread. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual Response AddParticipants(IEnumerable participants, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipants)}"); + scope.Start(); + try + { + return _chatRestClient.AddChatParticipants(Id, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Gets the participants of a thread asynchronously. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual AsyncPageable GetParticipantsAsync(CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetParticipants)}"); scope.Start(); try { - Response response = await _chatRestClient.ListChatThreadMembersAsync(Id, cancellationToken).ConfigureAwait(false); - IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatThreadMember()); + Response response = await _chatRestClient.ListChatParticipantsAsync(Id, cancellationToken).ConfigureAwait(false); + IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatParticipant()); return Page.FromValues(chatThreadMembers, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) @@ -400,21 +440,21 @@ async Task> FirstPageFunc(int? pageSizeHint) return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, null); } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Pageable GetMembers(CancellationToken cancellationToken = default) + public virtual Pageable GetParticipants(CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetMessages)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetParticipants)}"); scope.Start(); try { - Response response = _chatRestClient.ListChatThreadMembers(Id, cancellationToken); - IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatThreadMember()); - return Page.FromValues(chatThreadMembers, response.Value.NextLink, response.GetRawResponse()); + Response response = _chatRestClient.ListChatParticipants(Id, cancellationToken); + IEnumerable chatParticipant = response.Value.Value.Select(x => x.ToChatParticipant()); + return Page.FromValues(chatParticipant, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -425,17 +465,17 @@ Page FirstPageFunc(int? pageSizeHint) return PageableHelpers.CreateEnumerable(FirstPageFunc, null); } - /// Remove a member from a thread asynchronously. - /// to be removed from the chat thread members. + /// Remove a participant from a thread asynchronously. + /// to be removed from the chat thread participants. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task RemoveMemberAsync(CommunicationUser user, CancellationToken cancellationToken = default) + public virtual async Task RemoveParticipantAsync(CommunicationUser user, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveMember)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveParticipant)}"); scope.Start(); try { - return await _chatRestClient.RemoveChatThreadMemberAsync(Id, user.Id, cancellationToken).ConfigureAwait(false); + return await _chatRestClient.RemoveChatParticipantAsync(Id, user.Id, cancellationToken).ConfigureAwait(false); } catch (Exception ex) { @@ -445,16 +485,16 @@ public virtual async Task RemoveMemberAsync(CommunicationUser user, Ca } /// Remove a member from a thread . - /// to be removed from the chat thread members. + /// to be removed from the chat thread participants. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response RemoveMember(CommunicationUser user, CancellationToken cancellationToken = default) + public virtual Response RemoveParticipant(CommunicationUser user, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveMember)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveParticipant)}"); scope.Start(); try { - return _chatRestClient.RemoveChatThreadMember(Id, user.Id, cancellationToken); + return _chatRestClient.RemoveChatParticipant(Id, user.Id, cancellationToken); } catch (Exception ex) { @@ -540,16 +580,16 @@ public virtual Response SendReadReceipt(string messageId, CancellationToken canc /// Gets read receipts for a thread asynchronously. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual AsyncPageable GetReadReceiptsAsync(CancellationToken cancellationToken = default) + public virtual AsyncPageable GetReadReceiptsAsync(CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + async Task> FirstPageFunc(int? pageSizeHint) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetReadReceipts)}"); scope.Start(); try { - Response response = await _chatRestClient.ListChatReadReceiptsAsync(Id, cancellationToken).ConfigureAwait(false); + Response response = await _chatRestClient.ListChatReadReceiptsAsync(Id, cancellationToken).ConfigureAwait(false); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) @@ -564,16 +604,16 @@ async Task> FirstPageFunc(int? pageSizeHint) /// Gets read receipts for a thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Pageable GetReadReceipts(CancellationToken cancellationToken = default) + public virtual Pageable GetReadReceipts(CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetReadReceipts)}"); scope.Start(); try { - Response response = _chatRestClient.ListChatReadReceipts(Id, cancellationToken); + Response response = _chatRestClient.ListChatReadReceipts(Id, cancellationToken); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs index a7a0a77d10fb..5d84cb8c851b 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs @@ -29,7 +29,7 @@ internal partial class ChatRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// or is null. - public ChatRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2020-09-21-preview2") + public ChatRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2020-11-01-preview3") { if (endpoint == null) { @@ -62,11 +62,11 @@ internal HttpMessage CreateListChatReadReceiptsRequest(string chatThreadId) return message; } - /// Gets read receipts for a thread. - /// Thread id to get the read receipts for. + /// Gets chat message read receipts for a thread. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// is null. - public async Task> ListChatReadReceiptsAsync(string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatReadReceiptsAsync(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { @@ -79,9 +79,9 @@ public async Task> ListChatReadReceiptsAsync(st { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -89,11 +89,11 @@ public async Task> ListChatReadReceiptsAsync(st } } - /// Gets read receipts for a thread. - /// Thread id to get the read receipts for. + /// Gets chat message read receipts for a thread. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// is null. - public Response ListChatReadReceipts(string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatReadReceipts(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { @@ -106,9 +106,9 @@ public Response ListChatReadReceipts(string chatThreadId { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -662,7 +662,7 @@ public Response SendTypingNotification(string chatThreadId, CancellationToken ca } } - internal HttpMessage CreateListChatThreadMembersRequest(string chatThreadId) + internal HttpMessage CreateListChatParticipantsRequest(string chatThreadId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -671,33 +671,33 @@ internal HttpMessage CreateListChatThreadMembersRequest(string chatThreadId) uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members", false); + uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Gets the members of a thread. - /// Thread id to get members for. + /// Gets the participants of a thread. + /// Thread id to get participants for. /// The cancellation token to use. /// is null. - public async Task> ListChatThreadMembersAsync(string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatParticipantsAsync(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersRequest(chatThreadId); + using var message = CreateListChatParticipantsRequest(chatThreadId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -705,26 +705,26 @@ public async Task> ListChatThreadMembersAs } } - /// Gets the members of a thread. - /// Thread id to get members for. + /// Gets the participants of a thread. + /// Thread id to get participants for. /// The cancellation token to use. /// is null. - public Response ListChatThreadMembers(string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatParticipants(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersRequest(chatThreadId); + using var message = CreateListChatParticipantsRequest(chatThreadId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -732,7 +732,7 @@ public Response ListChatThreadMembers(string chatTh } } - internal HttpMessage CreateAddChatThreadMembersRequest(string chatThreadId, IEnumerable members) + internal HttpMessage CreateAddChatParticipantsRequest(string chatThreadId, IEnumerable participants) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -741,73 +741,73 @@ internal HttpMessage CreateAddChatThreadMembersRequest(string chatThreadId, IEnu uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members", false); + uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json"); - var model = new AddChatThreadMembersRequest(members); + var model = new AddChatParticipantsRequest(participants); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(model); request.Content = content; return message; } - /// Adds thread members to a thread. If members already exist, no change occurs. - /// Id of the thread to add members to. - /// Members to add to a chat thread. + /// Adds thread participants to a thread. If participants already exist, no change occurs. + /// Id of the thread to add participants to. + /// Participants to add to a chat thread. /// The cancellation token to use. - /// or is null. - public async Task AddChatThreadMembersAsync(string chatThreadId, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public async Task AddChatParticipantsAsync(string chatThreadId, IEnumerable participants, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateAddChatThreadMembersRequest(chatThreadId, members); + using var message = CreateAddChatParticipantsRequest(chatThreadId, participants); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 207: + case 201: return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Adds thread members to a thread. If members already exist, no change occurs. - /// Id of the thread to add members to. - /// Members to add to a chat thread. + /// Adds thread participants to a thread. If participants already exist, no change occurs. + /// Id of the thread to add participants to. + /// Participants to add to a chat thread. /// The cancellation token to use. - /// or is null. - public Response AddChatThreadMembers(string chatThreadId, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public Response AddChatParticipants(string chatThreadId, IEnumerable participants, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateAddChatThreadMembersRequest(chatThreadId, members); + using var message = CreateAddChatParticipantsRequest(chatThreadId, participants); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 207: + case 201: return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateRemoveChatThreadMemberRequest(string chatThreadId, string chatMemberId) + internal HttpMessage CreateRemoveChatParticipantRequest(string chatThreadId, string chatParticipantId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -816,31 +816,31 @@ internal HttpMessage CreateRemoveChatThreadMemberRequest(string chatThreadId, st uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members/", false); - uri.AppendPath(chatMemberId, true); + uri.AppendPath("/participants/", false); + uri.AppendPath(chatParticipantId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Remove a member from a thread. - /// Thread id to remove the member from. - /// Id of the thread member to remove from the thread. + /// Remove a participant from a thread. + /// Thread id to remove the participant from. + /// Id of the thread participant to remove from the thread. /// The cancellation token to use. - /// or is null. - public async Task RemoveChatThreadMemberAsync(string chatThreadId, string chatMemberId, CancellationToken cancellationToken = default) + /// or is null. + public async Task RemoveChatParticipantAsync(string chatThreadId, string chatParticipantId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (chatMemberId == null) + if (chatParticipantId == null) { - throw new ArgumentNullException(nameof(chatMemberId)); + throw new ArgumentNullException(nameof(chatParticipantId)); } - using var message = CreateRemoveChatThreadMemberRequest(chatThreadId, chatMemberId); + using var message = CreateRemoveChatParticipantRequest(chatThreadId, chatParticipantId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -851,23 +851,23 @@ public async Task RemoveChatThreadMemberAsync(string chatThreadId, str } } - /// Remove a member from a thread. - /// Thread id to remove the member from. - /// Id of the thread member to remove from the thread. + /// Remove a participant from a thread. + /// Thread id to remove the participant from. + /// Id of the thread participant to remove from the thread. /// The cancellation token to use. - /// or is null. - public Response RemoveChatThreadMember(string chatThreadId, string chatMemberId, CancellationToken cancellationToken = default) + /// or is null. + public Response RemoveChatParticipant(string chatThreadId, string chatParticipantId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (chatMemberId == null) + if (chatParticipantId == null) { - throw new ArgumentNullException(nameof(chatMemberId)); + throw new ArgumentNullException(nameof(chatParticipantId)); } - using var message = CreateRemoveChatThreadMemberRequest(chatThreadId, chatMemberId); + using var message = CreateRemoveChatParticipantRequest(chatThreadId, chatParticipantId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -878,7 +878,7 @@ public Response RemoveChatThreadMember(string chatThreadId, string chatMemberId, } } - internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable members) + internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable participants) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -890,7 +890,7 @@ internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable Creates a chat thread. /// The chat thread topic. - /// Members to be added to the chat thread. + /// Participants to be added to the chat thread. /// The cancellation token to use. - /// or is null. - public async Task> CreateChatThreadAsync(string topic, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public async Task> CreateChatThreadAsync(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateCreateChatThreadRequest(topic, members); + using var message = CreateCreateChatThreadRequest(topic, participants); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 207: + case 201: { - MultiStatusResponse value = default; + ChatThreadInternal value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = MultiStatusResponse.DeserializeMultiStatusResponse(document.RootElement); + value = ChatThreadInternal.DeserializeChatThreadInternal(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -931,29 +931,29 @@ public async Task> CreateChatThreadAsync(string to /// Creates a chat thread. /// The chat thread topic. - /// Members to be added to the chat thread. + /// Participants to be added to the chat thread. /// The cancellation token to use. - /// or is null. - public Response CreateChatThread(string topic, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public Response CreateChatThread(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateCreateChatThreadRequest(topic, members); + using var message = CreateCreateChatThreadRequest(topic, participants); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 207: + case 201: { - MultiStatusResponse value = default; + ChatThreadInternal value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = MultiStatusResponse.DeserializeMultiStatusResponse(document.RootElement); + value = ChatThreadInternal.DeserializeChatThreadInternal(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1237,12 +1237,12 @@ internal HttpMessage CreateListChatReadReceiptsNextPageRequest(string nextLink, return message; } - /// Gets read receipts for a thread. + /// Gets chat message read receipts for a thread. /// The URL to the next page of results. - /// Thread id to get the read receipts for. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// or is null. - public async Task> ListChatReadReceiptsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatReadReceiptsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1259,9 +1259,9 @@ public async Task> ListChatReadReceiptsNextPage { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1269,12 +1269,12 @@ public async Task> ListChatReadReceiptsNextPage } } - /// Gets read receipts for a thread. + /// Gets chat message read receipts for a thread. /// The URL to the next page of results. - /// Thread id to get the read receipts for. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// or is null. - public Response ListChatReadReceiptsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatReadReceiptsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1291,9 +1291,9 @@ public Response ListChatReadReceiptsNextPage(string next { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1382,7 +1382,7 @@ public Response ListChatMessagesNextPage(string nextLink } } - internal HttpMessage CreateListChatThreadMembersNextPageRequest(string nextLink, string chatThreadId) + internal HttpMessage CreateListChatParticipantsNextPageRequest(string nextLink, string chatThreadId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -1395,12 +1395,12 @@ internal HttpMessage CreateListChatThreadMembersNextPageRequest(string nextLink, return message; } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The URL to the next page of results. - /// Thread id to get members for. + /// Thread id to get participants for. /// The cancellation token to use. /// or is null. - public async Task> ListChatThreadMembersNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatParticipantsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1411,15 +1411,15 @@ public async Task> ListChatThreadMembersNe throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersNextPageRequest(nextLink, chatThreadId); + using var message = CreateListChatParticipantsNextPageRequest(nextLink, chatThreadId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1427,12 +1427,12 @@ public async Task> ListChatThreadMembersNe } } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The URL to the next page of results. - /// Thread id to get members for. + /// Thread id to get participants for. /// The cancellation token to use. /// or is null. - public Response ListChatThreadMembersNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatParticipantsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1443,15 +1443,15 @@ public Response ListChatThreadMembersNextPage(strin throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersNextPageRequest(nextLink, chatThreadId); + using var message = CreateListChatParticipantsNextPageRequest(nextLink, chatThreadId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs similarity index 75% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs index 4bbd9825689a..2774a3d7d609 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs @@ -10,14 +10,14 @@ namespace Azure.Communication.Chat { - internal partial class AddChatThreadMembersRequest : IUtf8JsonSerializable + internal partial class AddChatParticipantsRequest : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - writer.WritePropertyName("members"); + writer.WritePropertyName("participants"); writer.WriteStartArray(); - foreach (var item in Members) + foreach (var item in Participants) { writer.WriteObjectValue(item); } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs new file mode 100644 index 000000000000..ee3b5b1a52c2 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.Communication.Chat +{ + /// Participants to be added to the thread. + internal partial class AddChatParticipantsRequest + { + /// Initializes a new instance of AddChatParticipantsRequest. + /// Participants to add to a chat thread. + /// is null. + public AddChatParticipantsRequest(IEnumerable participants) + { + if (participants == null) + { + throw new ArgumentNullException(nameof(participants)); + } + + Participants = participants.ToList(); + } + + /// Participants to add to a chat thread. + public IList Participants { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs deleted file mode 100644 index 786d279d1705..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Communication.Chat -{ - /// Thread members to be added to the thread. - internal partial class AddChatThreadMembersRequest - { - /// Initializes a new instance of AddChatThreadMembersRequest. - /// Members to add to a chat thread. - /// is null. - public AddChatThreadMembersRequest(IEnumerable members) - { - if (members == null) - { - throw new ArgumentNullException(nameof(members)); - } - - Members = members.ToList(); - } - - /// Members to add to a chat thread. - public IList Members { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs similarity index 82% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs index 0dd713008f3c..c4ba41c01d8b 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs @@ -11,9 +11,9 @@ namespace Azure.Communication.Chat { - public partial class ReadReceipt + public partial class ChatMessageReadReceipt { - internal static ReadReceipt DeserializeReadReceipt(JsonElement element) + internal static ChatMessageReadReceipt DeserializeChatMessageReadReceipt(JsonElement element) { Optional senderId = default; Optional chatMessageId = default; @@ -41,7 +41,7 @@ internal static ReadReceipt DeserializeReadReceipt(JsonElement element) continue; } } - return new ReadReceipt(senderId.Value, chatMessageId.Value, Optional.ToNullable(readOn)); + return new ChatMessageReadReceipt(senderId.Value, chatMessageId.Value, Optional.ToNullable(readOn)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs similarity index 50% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs index 45e4e05da4b2..d336d1345148 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs @@ -9,16 +9,16 @@ namespace Azure.Communication.Chat { - /// A read receipt indicates the time a chat message was read by a recipient. - public partial class ReadReceipt + /// A chat message read receipt indicates the time a chat message was read by a recipient. + public partial class ChatMessageReadReceipt { - /// Initializes a new instance of ReadReceipt. - internal ReadReceipt() + /// Initializes a new instance of ChatMessageReadReceipt. + internal ChatMessageReadReceipt() { } /// Id for the chat message that has been read. This id is generated by the server. public string ChatMessageId { get; } - /// Read receipt timestamp. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + /// Chat message read receipt timestamp. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? ReadOn { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs similarity index 66% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs index 3cf6fb11b2ac..0265914fdb9e 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs @@ -11,11 +11,11 @@ namespace Azure.Communication.Chat { - internal partial class ChatThreadMembersCollection + internal partial class ChatMessageReadReceiptsCollection { - internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollection(JsonElement element) + internal static ChatMessageReadReceiptsCollection DeserializeChatMessageReadReceiptsCollection(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollecti property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ChatThreadMemberInternal.DeserializeChatThreadMemberInternal(item)); + array.Add(ChatMessageReadReceipt.DeserializeChatMessageReadReceipt(item)); } value = array; continue; @@ -40,7 +40,7 @@ internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollecti continue; } } - return new ChatThreadMembersCollection(Optional.ToList(value), nextLink.Value); + return new ChatMessageReadReceiptsCollection(Optional.ToList(value), nextLink.Value); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs new file mode 100644 index 000000000000..be50a9645a14 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.Communication.Chat +{ + /// The ChatMessageReadReceiptsCollection. + internal partial class ChatMessageReadReceiptsCollection + { + /// Initializes a new instance of ChatMessageReadReceiptsCollection. + internal ChatMessageReadReceiptsCollection() + { + Value = new ChangeTrackingList(); + } + + /// Initializes a new instance of ChatMessageReadReceiptsCollection. + /// Collection of chat message read receipts. + /// If there are more chat message read receipts that can be retrieved, the next link will be populated. + internal ChatMessageReadReceiptsCollection(IReadOnlyList value, string nextLink) + { + Value = value; + NextLink = nextLink; + } + + /// Collection of chat message read receipts. + public IReadOnlyList Value { get; } + /// If there are more chat message read receipts that can be retrieved, the next link will be populated. + public string NextLink { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs similarity index 86% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs index 99c165a464a3..9372dc23256e 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs @@ -11,7 +11,7 @@ namespace Azure.Communication.Chat { - internal partial class ChatThreadMemberInternal : IUtf8JsonSerializable + internal partial class ChatParticipantInternal : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { @@ -31,7 +31,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteEndObject(); } - internal static ChatThreadMemberInternal DeserializeChatThreadMemberInternal(JsonElement element) + internal static ChatParticipantInternal DeserializeChatParticipantInternal(JsonElement element) { string id = default; Optional displayName = default; @@ -59,7 +59,7 @@ internal static ChatThreadMemberInternal DeserializeChatThreadMemberInternal(Jso continue; } } - return new ChatThreadMemberInternal(id, displayName.Value, Optional.ToNullable(shareHistoryTime)); + return new ChatParticipantInternal(id, displayName.Value, Optional.ToNullable(shareHistoryTime)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs new file mode 100644 index 000000000000..3b4c90bcfec7 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.Communication.Chat +{ + /// A participant of the chat thread. + internal partial class ChatParticipantInternal + { + /// Initializes a new instance of ChatParticipantInternal. + /// The id of the chat participant. + /// is null. + public ChatParticipantInternal(string id) + { + if (id == null) + { + throw new ArgumentNullException(nameof(id)); + } + + Id = id; + } + + /// Initializes a new instance of ChatParticipantInternal. + /// The id of the chat participant. + /// Display name for the chat participant. + /// Time from which the chat history is shared with the participant. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + internal ChatParticipantInternal(string id, string displayName, DateTimeOffset? shareHistoryTime) + { + Id = id; + DisplayName = displayName; + ShareHistoryTime = shareHistoryTime; + } + + /// The id of the chat participant. + public string Id { get; set; } + /// Display name for the chat participant. + public string DisplayName { get; set; } + /// Time from which the chat history is shared with the participant. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? ShareHistoryTime { get; set; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs similarity index 67% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs index 392c0253bb77..bdb17e1babf1 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs @@ -11,11 +11,11 @@ namespace Azure.Communication.Chat { - internal partial class ReadReceiptsCollection + internal partial class ChatParticipantsCollection { - internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonElement element) + internal static ChatParticipantsCollection DeserializeChatParticipantsCollection(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonEle property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReadReceipt.DeserializeReadReceipt(item)); + array.Add(ChatParticipantInternal.DeserializeChatParticipantInternal(item)); } value = array; continue; @@ -40,7 +40,7 @@ internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonEle continue; } } - return new ReadReceiptsCollection(Optional.ToList(value), nextLink.Value); + return new ChatParticipantsCollection(Optional.ToList(value), nextLink.Value); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs new file mode 100644 index 000000000000..4a7b02536181 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.Communication.Chat +{ + /// Collection of participants belong to a particular thread. + internal partial class ChatParticipantsCollection + { + /// Initializes a new instance of ChatParticipantsCollection. + internal ChatParticipantsCollection() + { + Value = new ChangeTrackingList(); + } + + /// Initializes a new instance of ChatParticipantsCollection. + /// Chat participants. + /// If there are more chat participants that can be retrieved, the next link will be populated. + internal ChatParticipantsCollection(IReadOnlyList value, string nextLink) + { + Value = value; + NextLink = nextLink; + } + + /// Chat participants. + public IReadOnlyList Value { get; } + /// If there are more chat participants that can be retrieved, the next link will be populated. + public string NextLink { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs index a09ea344fa97..091602c3c2c4 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs @@ -18,6 +18,7 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) Optional id = default; Optional topic = default; Optional isDeleted = default; + Optional deletedOn = default; Optional lastMessageReceivedOn = default; foreach (var property in element.EnumerateObject()) { @@ -41,6 +42,16 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) isDeleted = property.Value.GetBoolean(); continue; } + if (property.NameEquals("deletedOn")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + deletedOn = property.Value.GetDateTimeOffset("O"); + continue; + } if (property.NameEquals("lastMessageReceivedOn")) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -52,7 +63,7 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) continue; } } - return new ChatThreadInfo(id.Value, topic.Value, Optional.ToNullable(isDeleted), Optional.ToNullable(lastMessageReceivedOn)); + return new ChatThreadInfo(id.Value, topic.Value, Optional.ToNullable(isDeleted), Optional.ToNullable(deletedOn), Optional.ToNullable(lastMessageReceivedOn)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs index ee2a7ebebfc8..10fab9f7a34b 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs @@ -21,12 +21,14 @@ internal ChatThreadInfo() /// Chat thread id. /// Chat thread topic. /// Flag if a chat thread is soft deleted. + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - internal ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? lastMessageReceivedOn) + internal ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? deletedOn, DateTimeOffset? lastMessageReceivedOn) { Id = id; Topic = topic; IsDeleted = isDeleted; + DeletedOn = deletedOn; LastMessageReceivedOn = lastMessageReceivedOn; } @@ -36,6 +38,8 @@ internal ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset public string Topic { get; } /// Flag if a chat thread is soft deleted. public bool? IsDeleted { get; } + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? DeletedOn { get; } /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? LastMessageReceivedOn { get; } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs index 5e8839357741..4d9f3e6158b8 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs @@ -20,7 +20,8 @@ internal static ChatThreadInternal DeserializeChatThreadInternal(JsonElement ele Optional topic = default; Optional createdOn = default; Optional createdBy = default; - Optional> members = default; + Optional deletedOn = default; + Optional> participants = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("id")) @@ -48,23 +49,33 @@ internal static ChatThreadInternal DeserializeChatThreadInternal(JsonElement ele createdBy = property.Value.GetString(); continue; } - if (property.NameEquals("members")) + if (property.NameEquals("deletedOn")) { if (property.Value.ValueKind == JsonValueKind.Null) { property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + deletedOn = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("participants")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ChatThreadMemberInternal.DeserializeChatThreadMemberInternal(item)); + array.Add(ChatParticipantInternal.DeserializeChatParticipantInternal(item)); } - members = array; + participants = array; continue; } } - return new ChatThreadInternal(id.Value, topic.Value, Optional.ToNullable(createdOn), createdBy.Value, Optional.ToList(members)); + return new ChatThreadInternal(id.Value, topic.Value, Optional.ToNullable(createdOn), createdBy.Value, Optional.ToNullable(deletedOn), Optional.ToList(participants)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs index 6a3b7ea2b5f6..f929b0dd7631 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs @@ -17,7 +17,7 @@ internal partial class ChatThreadInternal /// Initializes a new instance of ChatThreadInternal. internal ChatThreadInternal() { - Members = new ChangeTrackingList(); + Participants = new ChangeTrackingList(); } /// Initializes a new instance of ChatThreadInternal. @@ -25,14 +25,16 @@ internal ChatThreadInternal() /// Chat thread topic. /// The timestamp when the chat thread was created. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// Id of the chat thread owner. - /// Chat thread members. - internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, string createdBy, IReadOnlyList members) + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + /// Chat participants. + internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, string createdBy, DateTimeOffset? deletedOn, IReadOnlyList participants) { Id = id; Topic = topic; CreatedOn = createdOn; CreatedBy = createdBy; - Members = members; + DeletedOn = deletedOn; + Participants = participants; } /// Chat thread id. @@ -43,7 +45,9 @@ internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, public DateTimeOffset? CreatedOn { get; } /// Id of the chat thread owner. public string CreatedBy { get; } - /// Chat thread members. - public IReadOnlyList Members { get; } + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? DeletedOn { get; } + /// Chat participants. + public IReadOnlyList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs deleted file mode 100644 index 667a48cef655..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; - -namespace Azure.Communication.Chat -{ - /// A member of the chat thread. - internal partial class ChatThreadMemberInternal - { - /// Initializes a new instance of ChatThreadMemberInternal. - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - /// is null. - public ChatThreadMemberInternal(string id) - { - if (id == null) - { - throw new ArgumentNullException(nameof(id)); - } - - Id = id; - } - - /// Initializes a new instance of ChatThreadMemberInternal. - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - /// Display name for the chat thread member. - /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - internal ChatThreadMemberInternal(string id, string displayName, DateTimeOffset? shareHistoryTime) - { - Id = id; - DisplayName = displayName; - ShareHistoryTime = shareHistoryTime; - } - - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - public string Id { get; set; } - /// Display name for the chat thread member. - public string DisplayName { get; set; } - /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - public DateTimeOffset? ShareHistoryTime { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs deleted file mode 100644 index cbdeca2d022e..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// Collection of thread members belong to a particular thread. - internal partial class ChatThreadMembersCollection - { - /// Initializes a new instance of ChatThreadMembersCollection. - internal ChatThreadMembersCollection() - { - Value = new ChangeTrackingList(); - } - - /// Initializes a new instance of ChatThreadMembersCollection. - /// Chat thread members. - /// If there are more chat threads that can be retrieved, the next link will be populated. - internal ChatThreadMembersCollection(IReadOnlyList value, string nextLink) - { - Value = value; - NextLink = nextLink; - } - - /// Chat thread members. - public IReadOnlyList Value { get; } - /// If there are more chat threads that can be retrieved, the next link will be populated. - public string NextLink { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs index 925bbdbb8310..dc465c947140 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs @@ -17,9 +17,9 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("topic"); writer.WriteStringValue(Topic); - writer.WritePropertyName("members"); + writer.WritePropertyName("participants"); writer.WriteStartArray(); - foreach (var item in Members) + foreach (var item in Participants) { writer.WriteObjectValue(item); } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs index 289f29d36b3d..5f975bb41cb9 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs @@ -16,26 +16,26 @@ internal partial class CreateChatThreadRequest { /// Initializes a new instance of CreateChatThreadRequest. /// The chat thread topic. - /// Members to be added to the chat thread. - /// or is null. - public CreateChatThreadRequest(string topic, IEnumerable members) + /// Participants to be added to the chat thread. + /// or is null. + public CreateChatThreadRequest(string topic, IEnumerable participants) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } Topic = topic; - Members = members.ToList(); + Participants = participants.ToList(); } /// The chat thread topic. public string Topic { get; } - /// Members to be added to the chat thread. - public IList Members { get; } + /// Participants to be added to the chat thread. + public IList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs index 9c9348623979..f7c223a7d79a 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs @@ -20,10 +20,10 @@ internal Error() } /// Initializes a new instance of Error. - /// . - /// . - /// . - /// . + /// Error code. + /// Description of the error. + /// If applicable, would be used to indicate the property causing the error. + /// If applicable, inner errors would be returned for more details on the error. internal Error(string code, string message, string target, IReadOnlyList innerErrors) { Code = code; @@ -32,9 +32,13 @@ internal Error(string code, string message, string target, IReadOnlyList InnerErrors = innerErrors; } + /// Error code. public string Code { get; } + /// Description of the error. public string Message { get; } + /// If applicable, would be used to indicate the property causing the error. public string Target { get; } + /// If applicable, inner errors would be returned for more details on the error. public IReadOnlyList InnerErrors { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs deleted file mode 100644 index e04ea2cea487..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - internal partial class IndividualStatusResponse - { - internal static IndividualStatusResponse DeserializeIndividualStatusResponse(JsonElement element) - { - Optional id = default; - Optional statusCode = default; - Optional message = default; - Optional type = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("id")) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("statusCode")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - statusCode = property.Value.GetInt32(); - continue; - } - if (property.NameEquals("message")) - { - message = property.Value.GetString(); - continue; - } - if (property.NameEquals("type")) - { - type = property.Value.GetString(); - continue; - } - } - return new IndividualStatusResponse(id.Value, Optional.ToNullable(statusCode), message.Value, type.Value); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs deleted file mode 100644 index 961f764aa26a..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.Chat -{ - /// The IndividualStatusResponse. - internal partial class IndividualStatusResponse - { - /// Initializes a new instance of IndividualStatusResponse. - internal IndividualStatusResponse() - { - } - - /// Initializes a new instance of IndividualStatusResponse. - /// Identifies the resource to which the individual status corresponds. - /// - /// The status code of the resource operation. - /// - /// - /// - /// Possible values include: - /// - /// 200 for a successful update or delete, - /// - /// 201 for successful creation, - /// - /// 400 for a malformed input, - /// - /// 403 for lacking permission to execute the operation, - /// - /// 404 for resource not found. - /// - /// The message explaining why the operation failed for the resource identified by the key; null if the operation succeeded. - /// Identifies the type of the resource to which the individual status corresponds. - internal IndividualStatusResponse(string id, int? statusCode, string message, string type) - { - Id = id; - StatusCode = statusCode; - Message = message; - Type = type; - } - - /// Identifies the resource to which the individual status corresponds. - public string Id { get; } - /// - /// The status code of the resource operation. - /// - /// - /// - /// Possible values include: - /// - /// 200 for a successful update or delete, - /// - /// 201 for successful creation, - /// - /// 400 for a malformed input, - /// - /// 403 for lacking permission to execute the operation, - /// - /// 404 for resource not found. - /// - public int? StatusCode { get; } - /// The message explaining why the operation failed for the resource identified by the key; null if the operation succeeded. - public string Message { get; } - /// Identifies the type of the resource to which the individual status corresponds. - public string Type { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs deleted file mode 100644 index 33df0ef52841..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - internal partial class MultiStatusResponse - { - internal static MultiStatusResponse DeserializeMultiStatusResponse(JsonElement element) - { - Optional> multipleStatus = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("multipleStatus")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(IndividualStatusResponse.DeserializeIndividualStatusResponse(item)); - } - multipleStatus = array; - continue; - } - } - return new MultiStatusResponse(Optional.ToList(multipleStatus)); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs deleted file mode 100644 index 59c6286dd3c4..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// The MultiStatusResponse. - internal partial class MultiStatusResponse - { - /// Initializes a new instance of MultiStatusResponse. - internal MultiStatusResponse() - { - MultipleStatus = new ChangeTrackingList(); - } - - /// Initializes a new instance of MultiStatusResponse. - /// The list of status information for each resource in the request. - internal MultiStatusResponse(IReadOnlyList multipleStatus) - { - MultipleStatus = multipleStatus; - } - - /// The list of status information for each resource in the request. - public IReadOnlyList MultipleStatus { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs deleted file mode 100644 index ec6994d39aeb..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// The ReadReceiptsCollection. - internal partial class ReadReceiptsCollection - { - /// Initializes a new instance of ReadReceiptsCollection. - internal ReadReceiptsCollection() - { - Value = new ChangeTrackingList(); - } - - /// Initializes a new instance of ReadReceiptsCollection. - /// Collection of read receipts. - /// If there are more read receipts that can be retrieved, the next link will be populated. - internal ReadReceiptsCollection(IReadOnlyList value, string nextLink) - { - Value = value; - NextLink = nextLink; - } - - /// Collection of read receipts. - public IReadOnlyList Value { get; } - /// If there are more read receipts that can be retrieved, the next link will be populated. - public string NextLink { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs similarity index 61% rename from sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs index 28d0c88b600d..eba2692ad913 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("ReadReceiptsCollection")] - internal partial class ReadReceiptsCollection + [CodeGenModel("AddChatParticipantsRequest")] + internal partial class AddChatParticipantsRequest { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs similarity index 74% rename from sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs index 1dfdbe7ff5fe..322f2cde0959 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs @@ -6,10 +6,10 @@ namespace Azure.Communication.Chat { - [CodeGenModel("ReadReceipt")] - public partial class ReadReceipt + [CodeGenModel("ChatMessageReadReceipt")] + public partial class ChatMessageReadReceipt { - internal ReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) + internal ChatMessageReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) { SenderId = senderId; Sender = new CommunicationUser(senderId); diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs similarity index 58% rename from sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs index a7612aab26ee..3b24db7fdd58 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("ChatThreadMembersCollection")] - internal partial class ChatThreadMembersCollection + [CodeGenModel("ChatMessageReadReceiptsCollection")] + internal partial class ChatMessageReadReceiptsCollection { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs index ab648630b94a..46f39d63fb8b 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs @@ -33,20 +33,21 @@ public static ChatMessage ChatMessage(string id, string type, ChatMessagePriorit /// Chat thread id. /// Chat thread topic. /// Flag if a chat thread is soft deleted. + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// A new instance for mocking. - public static ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? lastMessageReceivedOn) - => new ChatThreadInfo(id, topic, isDeleted, lastMessageReceivedOn); + public static ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? deletedOn, DateTimeOffset? lastMessageReceivedOn) + => new ChatThreadInfo(id, topic, isDeleted, deletedOn, lastMessageReceivedOn); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Id of the of message sender. /// Id for the chat message that has been read. /// Read receipt timestamp. - /// A new instance for mocking. - public static ReadReceipt ReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) - => new ReadReceipt(senderId, chatMessageId, readOn); + /// A new instance for mocking. + public static ChatMessageReadReceipt ChatMessageReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) + => new ChatMessageReadReceipt(senderId, chatMessageId, readOn); /// /// Initializes a new instance of the class. diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs similarity index 79% rename from sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs index 11470541182b..e9362ae4d654 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs @@ -6,13 +6,13 @@ namespace Azure.Communication.Chat { /// A member of the chat thread. - public partial class ChatThreadMember + public partial class ChatParticipant { /// /// A member of the chat thread. /// /// Instance of . - public ChatThreadMember(CommunicationUser communicationUser) + public ChatParticipant(CommunicationUser communicationUser) { if (communicationUser == null || communicationUser.Id == null) { @@ -20,7 +20,7 @@ public ChatThreadMember(CommunicationUser communicationUser) } User = communicationUser; } - internal ChatThreadMember(ChatThreadMemberInternal chatThreadMemberInternal) + internal ChatParticipant(ChatParticipantInternal chatThreadMemberInternal) { User = new CommunicationUser(chatThreadMemberInternal.Id); DisplayName = chatThreadMemberInternal.DisplayName; @@ -34,9 +34,9 @@ internal ChatThreadMember(ChatThreadMemberInternal chatThreadMemberInternal) /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? ShareHistoryTime { get; set; } - internal ChatThreadMemberInternal ToChatThreadMemberInternal() + internal ChatParticipantInternal ToChatParticipantInternal() { - return new ChatThreadMemberInternal(User.Id, DisplayName, ShareHistoryTime); + return new ChatParticipantInternal(User.Id, DisplayName, ShareHistoryTime); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs new file mode 100644 index 000000000000..728d393205ca --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.Communication.Chat +{ + [CodeGenModel("ChatParticipant")] + internal partial class ChatParticipantInternal + { + internal ChatParticipant ToChatParticipant() + { + return new ChatParticipant(this); + } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs similarity index 61% rename from sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs index 9b817a3a6faa..0e07b89ad096 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("AddChatThreadMembersRequest")] - internal partial class AddChatThreadMembersRequest + [CodeGenModel("ChatParticipantsCollection")] + internal partial class ChatParticipantsCollection { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs index 0ad6d027eeca..862e56ad9451 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs @@ -16,7 +16,7 @@ internal ChatThread(ChatThreadInternal chatThreadInternal) Topic = chatThreadInternal.Topic; CreatedOn = chatThreadInternal.CreatedOn; CreatedBy = new CommunicationUser(chatThreadInternal.CreatedBy); - Members = chatThreadInternal.Members.Select(x => x.ToChatThreadMember()).ToList(); + Participants = chatThreadInternal.Participants.Select(x => x.ToChatParticipant()).ToList(); } /// Chat thread id. @@ -28,6 +28,6 @@ internal ChatThread(ChatThreadInternal chatThreadInternal) /// Id of the chat thread owner. public CommunicationUser CreatedBy { get; } /// Chat thread members. - public IReadOnlyList Members { get; } + public IReadOnlyList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs deleted file mode 100644 index bd80ccb0d753..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.Chat -{ - [CodeGenModel("ChatThreadMember")] - internal partial class ChatThreadMemberInternal - { - internal ChatThreadMember ToChatThreadMember() - { - return new ChatThreadMember(this); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/autorest.md b/sdk/communication/Azure.Communication.Chat/src/autorest.md index f9595eb7ecc3..a5367c252d67 100644 --- a/sdk/communication/Azure.Communication.Chat/src/autorest.md +++ b/sdk/communication/Azure.Communication.Chat/src/autorest.md @@ -14,7 +14,7 @@ If any of the new objects needs to be overwritten, add the required changes to t ``` yaml input-file: - - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/838c5092f11e8ca26e262b1f1099d5c5cdfedc3f/specification/communication/data-plane/Microsoft.CommunicationServicesChat/preview/2020-09-21-preview2/communicationserviceschat.json + - https://int.chatgateway.trafficmanager.net/swagger/2020-11-01-preview3/swagger.json payload-flattening-threshold: 10 directive: from: swagger-document diff --git a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs index f8e6c9cfd47d..fc45ea2950a1 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs @@ -37,29 +37,30 @@ public ChatClientsLiveTest(bool isAsync) : base(isAsync) /// /// Thread : Create, Get, Update, Delete - /// Member : Add, Update, Remove + /// Participant : Add, Update, Remove /// Message : Get, Send, update /// Notification: Typing /// [SyncOnly] [Test] - public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() + public void ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT() { //arr - Console.WriteLine($"ThreadCGUD_MemberAUR_MessageGSU_NotificationT Running on RecordedTestMode : {Mode}"); + Console.WriteLine($"ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT Running on RecordedTestMode : {Mode}"); CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); (CommunicationUser user1, string token1) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user2, string token2) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user3, string token3) = CreateUserAndToken(communicationIdentityClient); - (CommunicationUser user4, string token4) = CreateUserAndToken(communicationIdentityClient); + (CommunicationUser user4, _) = CreateUserAndToken(communicationIdentityClient); + (CommunicationUser user5, _) = CreateUserAndToken(communicationIdentityClient); var topic = "Thread sync from C# sdk"; var displayNameMessage = "DisplayName sender message 1"; - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2), - new ChatThreadMember(user3) + new ChatParticipant(user1), + new ChatParticipant(user2), + new ChatParticipant(user3) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); @@ -67,18 +68,18 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() //act #region Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient - //@@ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", members); + //@@ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", participants); // Alternatively, if you have created a chat thread before and you have its threadId, you can create a ChatThreadClient instance using: //@@ChatThreadClient chatThreadClient2 = chatClient.GetChatThreadClient("threadId"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient - ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, topic, members); + ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, topic, participants); var threadId = chatThreadClient.Id; - ChatThreadClient chatThreadClient2 = CreateInstrumentedChatThreadClient(chatClient, topic, members); + ChatThreadClient chatThreadClient2 = CreateInstrumentedChatThreadClient(chatClient, topic, participants); ChatThreadClient chatThreadClient3 = GetInstrumentedChatThreadClient(chatClient3, threadId); string updatedTopic = "Launch meeting"; #region Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread - chatThreadClient.UpdateThread(topic: "Launch meeting"); + chatThreadClient.UpdateTopic(topic: "Launch meeting"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread #region Snippet:Azure_Communication_Chat_Tests_E2E_GetChatThread @@ -92,25 +93,18 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() string messageContent = "Let's meet at 11am"; #region Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage - SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("Let's meet at 11am"); + string messageId = chatThreadClient.SendMessage("Let's meet at 11am"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage - var messageContent2 = "Content for message 2"; - SendChatMessageResult sendChatMessageResult2 = chatThreadClient2.SendMessage(messageContent2, ChatMessagePriority.High, displayNameMessage); - var messageContent3 = "Content for message 3"; - SendChatMessageResult sendChatMessageResult3 = chatThreadClient3.SendMessage(messageContent3, ChatMessagePriority.High, displayNameMessage); - var messageContent4 = "Content for message 4"; - SendChatMessageResult sendChatMessageResult4 = chatThreadClient3.SendMessage(messageContent4, ChatMessagePriority.High, displayNameMessage); - var messageContent5 = "Content for message 5"; - SendChatMessageResult sendChatMessageResult5 = chatThreadClient3.SendMessage(messageContent5, ChatMessagePriority.High, displayNameMessage); - var messageContent6 = "Content for message 6"; - SendChatMessageResult sendChatMessageResult6 = chatThreadClient3.SendMessage(messageContent6, ChatMessagePriority.High, displayNameMessage); - - var messageId = sendChatMessageResult.Id; - var messageId2 = sendChatMessageResult2.Id; - var messageId3 = sendChatMessageResult3.Id; - var messageId4 = sendChatMessageResult4.Id; - var messageId5 = sendChatMessageResult5.Id; - var messageId6 = sendChatMessageResult6.Id; + string messageContent2 = "Content for message 2"; + string messageId2 = chatThreadClient2.SendMessage(messageContent2, ChatMessagePriority.High, displayNameMessage); + string messageContent3 = "Content for message 3"; + string messageId3 = chatThreadClient3.SendMessage(messageContent3, ChatMessagePriority.High, displayNameMessage); + string messageContent4 = "Content for message 4"; + string messageId4 = chatThreadClient3.SendMessage(messageContent4, ChatMessagePriority.High, displayNameMessage); + string messageContent5 = "Content for message 5"; + string messageId5 = chatThreadClient3.SendMessage(messageContent5, ChatMessagePriority.High, displayNameMessage); + string messageContent6 = "Content for message 6"; + string messageId6 = chatThreadClient3.SendMessage(messageContent6, ChatMessagePriority.High, displayNameMessage); #region Snippet:Azure_Communication_Chat_Tests_E2E_GetMessage ChatMessage message = chatThreadClient.GetMessage(messageId); @@ -168,24 +162,27 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() Pageable messagesAfterOneDeleted = chatThreadClient.GetMessages(); ChatMessage deletedChatMessage = messagesAfterOneDeleted.First(x => x.Id == messageId); - #region Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers - Pageable chatThreadMembers = chatThreadClient.GetMembers(); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers - var chatThreadMembersCount = chatThreadMembers.Count(); - - var newMember = new ChatThreadMember(user4); - #region Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers - chatThreadClient.AddMembers(members: new[] { newMember }); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers - Pageable chatThreadMembersAfterOneAdded = chatThreadClient.GetMembers(); - var chatThreadMembersAfterOneAddedCount = chatThreadMembersAfterOneAdded.Count(); - - CommunicationUser memberToBeRemoved = user4; //Better name for the snippet - #region Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember - chatThreadClient.RemoveMember(user: memberToBeRemoved); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember - Pageable chatThreadMembersAfterOneDeleted = chatThreadClient.GetMembers(); - var chatThreadMembersAfterOneDeletedCount = chatThreadMembersAfterOneDeleted.Count(); + #region Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants + Pageable chatParticipants = chatThreadClient.GetParticipants(); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants + var chatParticipantsCount = chatParticipants.Count(); + + var newParticipant = new ChatParticipant(user4); + var newParticipant2 = new ChatParticipant(user5); + #region Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants + chatThreadClient.AddParticipants(participants: new[] { newParticipant }); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants + chatThreadClient.AddParticipant(newParticipant2); + + Pageable chatParticipantsAfterTwoAdded = chatThreadClient.GetParticipants(); + var chatParticipantsAfterTwoAddedCount = chatParticipantsAfterTwoAdded.Count(); + + CommunicationUser participantToBeRemoved = user4; //Better name for the snippet + #region Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant + chatThreadClient.RemoveParticipant(user: participantToBeRemoved); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant + Pageable chatParticipantAfterOneDeleted = chatThreadClient.GetParticipants(); + var chatParticipantAfterOneDeletedCount = chatParticipantAfterOneDeleted.Count(); Response typingNotificationResponse = chatThreadClient.SendTypingNotification(); #region Snippet:Azure_Communication_Chat_Tests_E2E_SendTypingNotification @@ -198,7 +195,7 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() //assert Assert.AreEqual(updatedTopic, chatThread.Topic); - Assert.AreEqual(3, chatThread.Members.Count); + Assert.AreEqual(3, chatThread.Participants.Count); Assert.AreEqual(messageContent, message.Content); Assert.AreEqual(updatedMessageContent, actualUpdateMessage.Value.Content); Assert.AreEqual(ChatMessagePriority.Normal, message.Priority); @@ -215,9 +212,9 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() Assert.AreEqual(3, getMessagesCount2); //Including all types : 1 text message, 2 control messages Assert.IsTrue(deletedChatMessage.DeletedOn.HasValue); - Assert.AreEqual(3, chatThreadMembersCount); - Assert.AreEqual(4, chatThreadMembersAfterOneAddedCount); - Assert.AreEqual(3, chatThreadMembersAfterOneDeletedCount); + Assert.AreEqual(3, chatParticipantsCount); + Assert.AreEqual(5, chatParticipantsAfterTwoAddedCount); + Assert.AreEqual(4, chatParticipantAfterOneDeletedCount); Assert.AreEqual((int)HttpStatusCode.OK, typingNotificationResponse.Status); } @@ -232,23 +229,21 @@ public void ReadReceiptGS() (CommunicationUser user1, string token1) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user2, string token2) = CreateUserAndToken(communicationIdentityClient); - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2) + new ChatParticipant(user1), + new ChatParticipant(user2) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); //act - ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, "Thread topic - ReadReceipts Test", members); + ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, "Thread topic - ReadReceipts Test", participants); var threadId = chatThreadClient.Id; ChatThreadClient chatThreadClient2 = GetInstrumentedChatThreadClient(chatClient2, threadId); - SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("This is message 1 content"); - SendChatMessageResult sendChatMessageResult2 = chatThreadClient2.SendMessage("This is message 2 content"); - var messageId2 = sendChatMessageResult.Id; - var messageId = sendChatMessageResult2.Id; + var messageId2 = chatThreadClient.SendMessage("This is message 1 content"); + var messageId = chatThreadClient2.SendMessage("This is message 2 content"); #region Snippet:Azure_Communication_Chat_Tests_E2E_SendReadReceipt chatThreadClient.SendReadReceipt(messageId); @@ -256,9 +251,9 @@ public void ReadReceiptGS() chatThreadClient2.SendReadReceipt(messageId2); #region Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts - Pageable readReceipts = chatThreadClient.GetReadReceipts(); + Pageable readReceipts = chatThreadClient.GetReadReceipts(); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts - Pageable readReceipts2 = chatThreadClient2.GetReadReceipts(); + Pageable readReceipts2 = chatThreadClient2.GetReadReceipts(); var readReceiptsCount = readReceipts.Count(); var readReceiptsCount2 = readReceipts2.Count(); @@ -271,67 +266,61 @@ public void ReadReceiptGS() /// /// Thread : Create, Get, Update, Delete - /// Member : Add, Update, Remove + /// Participant : Add, Update, Remove /// Message : Get, Send, update /// Notification: Typing /// [AsyncOnly] [Test] - public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() + public async Task ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_Async() { //arr - Console.WriteLine($"ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async Running on RecordedTestMode : {Mode}"); + Console.WriteLine($"ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_Async Running on RecordedTestMode : {Mode}"); CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); (CommunicationUser user1, string token1) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user2, string token2) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user3, string token3) = await CreateUserAndTokenAsync(communicationIdentityClient); - (CommunicationUser user4, string token4) = await CreateUserAndTokenAsync(communicationIdentityClient); + (CommunicationUser user4, _) = await CreateUserAndTokenAsync(communicationIdentityClient); + (CommunicationUser user5, _) = await CreateUserAndTokenAsync(communicationIdentityClient); var topic = "Thread async from C# sdk"; var displayNameMessage = "DisplayName sender message 1"; - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2), - new ChatThreadMember(user3) + new ChatParticipant(user1), + new ChatParticipant(user2), + new ChatParticipant(user3) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); ChatClient chatClient3 = CreateInstrumentedChatClient(token3); //act - ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, members); + ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, participants); var threadId = chatThreadClient.Id; - ChatThreadClient chatThreadClient2 = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, members); + ChatThreadClient chatThreadClient2 = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, participants); ChatThreadClient chatThreadClient3 = GetInstrumentedChatThreadClient(chatClient3, threadId); var updatedTopic = "Updated topic - C# sdk"; - await chatThreadClient.UpdateThreadAsync(updatedTopic); + await chatThreadClient.UpdateTopicAsync(updatedTopic); ChatThread chatThread = await chatClient.GetChatThreadAsync(threadId); AsyncPageable threads = chatClient.GetChatThreadsInfoAsync(); var threadsCount = threads.ToEnumerableAsync().Result.Count; - var messageContent = "Content for message 1"; - SendChatMessageResult sendChatMessageResult = await chatThreadClient.SendMessageAsync(messageContent, ChatMessagePriority.High, displayNameMessage); - var messageContent2 = "Content for message 2"; - SendChatMessageResult sendChatMessageResult2 = await chatThreadClient2.SendMessageAsync(messageContent2, ChatMessagePriority.High, displayNameMessage); - var messageContent3 = "Content for message 3"; - SendChatMessageResult sendChatMessageResult3 = await chatThreadClient3.SendMessageAsync(messageContent3, ChatMessagePriority.High, displayNameMessage); - var messageContent4 = "Content for message 4"; - SendChatMessageResult sendChatMessageResult4 = await chatThreadClient3.SendMessageAsync(messageContent4, ChatMessagePriority.High, displayNameMessage); - var messageContent5 = "Content for message 5"; - SendChatMessageResult sendChatMessageResult5 = await chatThreadClient3.SendMessageAsync(messageContent5, ChatMessagePriority.High, displayNameMessage); - var messageContent6 = "Content for message 6"; - SendChatMessageResult sendChatMessageResult6 = await chatThreadClient3.SendMessageAsync(messageContent6, ChatMessagePriority.High, displayNameMessage); - - var messageId = sendChatMessageResult.Id; - var messageId2 = sendChatMessageResult2.Id; - var messageId3 = sendChatMessageResult3.Id; - var messageId4 = sendChatMessageResult4.Id; - var messageId5 = sendChatMessageResult5.Id; - var messageId6 = sendChatMessageResult6.Id; + string messageContent = "Content for message 1"; + string messageId = await chatThreadClient.SendMessageAsync(messageContent, ChatMessagePriority.High, displayNameMessage); + string messageContent2 = "Content for message 2"; + string messageId2 = await chatThreadClient2.SendMessageAsync(messageContent2, ChatMessagePriority.High, displayNameMessage); + string messageContent3 = "Content for message 3"; + string messageId3 = await chatThreadClient3.SendMessageAsync(messageContent3, ChatMessagePriority.High, displayNameMessage); + string messageContent4 = "Content for message 4"; + string messageId4 = await chatThreadClient3.SendMessageAsync(messageContent4, ChatMessagePriority.High, displayNameMessage); + string messageContent5 = "Content for message 5"; + string messageId5 = await chatThreadClient3.SendMessageAsync(messageContent5, ChatMessagePriority.High, displayNameMessage); + string messageContent6 = "Content for message 6"; + string messageId6 = await chatThreadClient3.SendMessageAsync(messageContent6, ChatMessagePriority.High, displayNameMessage); ChatMessage message = await chatThreadClient.GetMessageAsync(messageId); ChatMessage message2 = await chatThreadClient2.GetMessageAsync(messageId2); @@ -381,18 +370,20 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() List messagesAfterOneDeleted = chatThreadClient.GetMessagesAsync().ToEnumerableAsync().Result; ChatMessage deletedChatMessage = messagesAfterOneDeleted.First(x => x.Id == messageId); - AsyncPageable chatThreadMembers = chatThreadClient.GetMembersAsync(); - var chatThreadMembersCount = chatThreadMembers.ToEnumerableAsync().Result.Count; + AsyncPageable chatParticipants = chatThreadClient.GetParticipantsAsync(); + var chatParticipantsCount = chatParticipants.ToEnumerableAsync().Result.Count; - var newMember = new ChatThreadMember(user4); - await chatThreadClient.AddMembersAsync(members: new[] { newMember }); - AsyncPageable chatThreadMembersAfterOneAdded = chatThreadClient.GetMembersAsync(); - var chatThreadMembersAfterOneAddedCount = chatThreadMembersAfterOneAdded.ToEnumerableAsync().Result.Count; + var newParticipant = new ChatParticipant(user4); + var newParticipant2 = new ChatParticipant(user5); + await chatThreadClient.AddParticipantsAsync(participants: new[] { newParticipant }); + await chatThreadClient.AddParticipantAsync(newParticipant2); + AsyncPageable chatParticipantsAfterTwoOneAdded = chatThreadClient.GetParticipantsAsync(); + var chatParticipantsAfterTwoOneAddedCount = chatParticipantsAfterTwoOneAdded.ToEnumerableAsync().Result.Count; - CommunicationUser memberToBeRemoved = user4; - await chatThreadClient.RemoveMemberAsync(user: memberToBeRemoved); - AsyncPageable chatThreadMembersAfterOneDeleted = chatThreadClient.GetMembersAsync(); - var chatThreadMembersAfterOneDeletedCount = chatThreadMembersAfterOneDeleted.ToEnumerableAsync().Result.Count; + CommunicationUser participantToBeRemoved = user4; + await chatThreadClient.RemoveParticipantAsync(user: participantToBeRemoved); + AsyncPageable chatParticipantAfterOneDeleted = chatThreadClient.GetParticipantsAsync(); + var chatParticipantAfterOneDeletedCount = chatParticipantAfterOneDeleted.ToEnumerableAsync().Result.Count; Response typingNotificationResponse = await chatThreadClient.SendTypingNotificationAsync(); await chatThreadClient.SendTypingNotificationAsync(); @@ -401,7 +392,7 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() //assert Assert.AreEqual(updatedTopic, chatThread.Topic); - Assert.AreEqual(3, chatThread.Members.Count); + Assert.AreEqual(3, chatThread.Participants.Count); Assert.AreEqual(messageContent, message.Content); Assert.AreEqual(displayNameMessage, message.SenderDisplayName); Assert.AreEqual(updatedMessageContent, actualUpdateMessage.Value.Content); @@ -418,15 +409,14 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() Assert.AreEqual(3, getMessagesCount2); //Including all types : 1 text message, 2 control messages Assert.IsTrue(deletedChatMessage.DeletedOn.HasValue); - Assert.AreEqual(3, chatThreadMembersCount); - Assert.AreEqual(4, chatThreadMembersAfterOneAddedCount); - Assert.AreEqual(3, chatThreadMembersAfterOneDeletedCount); + Assert.AreEqual(3, chatParticipantsCount); + Assert.AreEqual(5, chatParticipantsAfterTwoOneAddedCount); + Assert.AreEqual(4, chatParticipantAfterOneDeletedCount); Assert.AreEqual((int)HttpStatusCode.OK, typingNotificationResponse.Status); } [AsyncOnly] [Test] - [PlaybackOnly("Message and ReadReceipt storage uses eventual consistency. Tests to get readreceipts requires delays")] public async Task ReadReceiptGSAsync() { //arr @@ -435,29 +425,27 @@ public async Task ReadReceiptGSAsync() (CommunicationUser user1, string token1) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user2, string token2) = await CreateUserAndTokenAsync(communicationIdentityClient); - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2) + new ChatParticipant(user1), + new ChatParticipant(user2) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); //act - ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, "Thread topic - ReadReceipts Async Test", members); + ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, "Thread topic - ReadReceipts Async Test", participants); var threadId = chatThreadClient.Id; ChatThreadClient chatThreadClient2 = GetInstrumentedChatThreadClient(chatClient2, threadId); - SendChatMessageResult sendChatMessageResult = await chatThreadClient.SendMessageAsync("This is message 1 content"); - SendChatMessageResult sendChatMessageResult2 = await chatThreadClient2.SendMessageAsync("This is message 2 content"); - var messageId2 = sendChatMessageResult.Id; - var messageId = sendChatMessageResult2.Id; + string messageId2 = await chatThreadClient.SendMessageAsync("This is message 1 content"); + string messageId = await chatThreadClient2.SendMessageAsync("This is message 2 content"); await chatThreadClient.SendReadReceiptAsync(messageId); await chatThreadClient2.SendReadReceiptAsync(messageId2); - AsyncPageable readReceipts = chatThreadClient.GetReadReceiptsAsync(); - AsyncPageable readReceipts2 = chatThreadClient2.GetReadReceiptsAsync(); + AsyncPageable readReceipts = chatThreadClient.GetReadReceiptsAsync(); + AsyncPageable readReceipts2 = chatThreadClient2.GetReadReceiptsAsync(); var readReceiptsCount = readReceipts.ToEnumerableAsync().Result.Count; var readReceiptsCount2 = readReceipts2.ToEnumerableAsync().Result.Count; @@ -470,20 +458,20 @@ public async Task ReadReceiptGSAsync() private (CommunicationUser user, string token) CreateUserAndToken(CommunicationIdentityClient communicationIdentityClient) { - Response threadMember = communicationIdentityClient.CreateUser(); + Response user = communicationIdentityClient.CreateUser(); IEnumerable scopes = new[] { CommunicationTokenScope.Chat }; - Response tokenResponseThreadMember = communicationIdentityClient.IssueToken(threadMember.Value, scopes); + Response tokenResponseUser = communicationIdentityClient.IssueToken(user.Value, scopes); - return (tokenResponseThreadMember.Value.User, tokenResponseThreadMember.Value.Token); + return (tokenResponseUser.Value.User, tokenResponseUser.Value.Token); } private async Task<(CommunicationUser user, string token)> CreateUserAndTokenAsync(CommunicationIdentityClient communicationIdentityClient) { - Response threadMember = await communicationIdentityClient.CreateUserAsync(); + Response user = await communicationIdentityClient.CreateUserAsync(); IEnumerable scopes = new[] { CommunicationTokenScope.Chat }; - Response tokenResponseThreadMember = await communicationIdentityClient.IssueTokenAsync(threadMember.Value, scopes); + Response tokenResponseUser = await communicationIdentityClient.IssueTokenAsync(user.Value, scopes); - return (tokenResponseThreadMember.Value.User, tokenResponseThreadMember.Value.Token); + return (tokenResponseUser.Value.User, tokenResponseUser.Value.Token); } } } diff --git a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs index 3b1278faddbe..3f81c4ee3a53 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs @@ -2,7 +2,10 @@ // Licensed under the MIT License. using System; +using System.Threading; using System.Threading.Tasks; +using Azure.Communication.Administration; +using Azure.Communication.Administration.Models; using Azure.Communication.Identity; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs index 7de10647511f..bd169692f0f1 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs @@ -45,9 +45,9 @@ protected ChatClient CreateInstrumentedChatClient(string token) InstrumentClientOptions(new ChatClientOptions()))); } - protected ChatThreadClient CreateInstrumentedChatThreadClient(ChatClient chatClient, string topic, IEnumerable members) + protected ChatThreadClient CreateInstrumentedChatThreadClient(ChatClient chatClient, string topic, IEnumerable participants) { - return InstrumentClient(chatClient.CreateChatThread(topic, members)); + return InstrumentClient(chatClient.CreateChatThread(topic, participants)); } protected ChatThreadClient GetInstrumentedChatThreadClient(ChatClient chatClient, string threadId) @@ -55,9 +55,9 @@ protected ChatThreadClient GetInstrumentedChatThreadClient(ChatClient chatClient return InstrumentClient(chatClient.GetChatThreadClient(threadId)); } - protected async Task CreateInstrumentedChatThreadClientAsync(ChatClient chatClient, string topic, IEnumerable members) + protected async Task CreateInstrumentedChatThreadClientAsync(ChatClient chatClient, string topic, IEnumerable participants) { - return InstrumentClient(await chatClient.CreateChatThreadAsync(topic, members)); + return InstrumentClient(await chatClient.CreateChatThreadAsync(topic, participants)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json index 8538503cc8ee..efdd26c83c22 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json @@ -1,51 +1,52 @@ { "Entries": [ { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", + "Date": "Sat, 14 Nov 2020 03:00:59 GMT", + "Request-Id": "|2040bce-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "2d801d22d7b0a939a22ae73c24f6cb68", + "x-ms-client-request-id": "7c3cfe8b95c350e1d843387fd77c5919", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", - "MS-CV": "ldM5KAJZKEmYkVU7acnXkA.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:01:00 GMT", + "MS-CV": "0u3ZyP9N30\u002BsFmrybdNhdg.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ErikXwAAAABz1u6hursORbHxAY4x0pytWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "2d801d22d7b0a939a22ae73c24f6cb68", - "X-Processing-Time": "208ms" + "X-Azure-Ref": "0bEivXwAAAACnfdWYVta0SZyNd0Ls9AqhWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "7c3cfe8b95c350e1d843387fd77c5919", + "X-Processing-Time": "146ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", + "Date": "Sat, 14 Nov 2020 03:01:00 GMT", + "Request-Id": "|2040bcf-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "49ce8339e122617d9832341fd6ea8d0e", + "x-ms-client-request-id": "77d83cdb6d2560b0e34742a5c385bfc2", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -56,68 +57,68 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", - "MS-CV": "8IF67bNz4065wjlsBC4Cxw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:01:01 GMT", + "MS-CV": "0VRS4Fim7UWV\u002BrkTwhEFpA.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ErikXwAAAAB3Bo71HaUiTqt8\u002BdWatHCzWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "49ce8339e122617d9832341fd6ea8d0e", - "X-Processing-Time": "280ms" + "X-Azure-Ref": "0bEivXwAAAABrcMTswU7VQaAV37k5f\u002Bg4WVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "77d83cdb6d2560b0e34742a5c385bfc2", + "X-Processing-Time": "303ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:26.2303022-08:00" + "expiresOn": "2020-11-15T03:01:00.3209233\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", + "Date": "Sat, 14 Nov 2020 03:01:02 GMT", + "Request-Id": "|2040bd0-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "f90dff6fcf87cc5c82d3364f217e51ca", + "x-ms-client-request-id": "bb6c60ab7fc8f52c6d2e3c9c55b953fc", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", - "MS-CV": "WuKN\u002BXccmkmX9Lq/BR/tiQ.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:01:02 GMT", + "MS-CV": "1ofO/E/5VEqMVPPxCZf8yA.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0E7ikXwAAAADyppTGYWRGTLRQA6PijiDcWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "f90dff6fcf87cc5c82d3364f217e51ca", - "X-Processing-Time": "206ms" + "X-Azure-Ref": "0bkivXwAAAAB0k2J4\u002BvmHRIsw2oBmzzT7WVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "bb6c60ab7fc8f52c6d2e3c9c55b953fc", + "X-Processing-Time": "147ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", + "Date": "Sat, 14 Nov 2020 03:01:03 GMT", + "Request-Id": "|2040bd1-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0656955771aa4074a01e947da219d3b8", + "x-ms-client-request-id": "583a27445ea91d234ddc987c533c8c52", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -128,93 +129,91 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", - "MS-CV": "CQ4Y3nFzh0C52P9Pa0Lr3A.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:01:03 GMT", + "MS-CV": "lglPWXIQLEmYRI0WXjV9ZQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0E7ikXwAAAAB17Ocm2dwcQpFud/i1Ga3nWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "0656955771aa4074a01e947da219d3b8", - "X-Processing-Time": "281ms" + "X-Azure-Ref": "0b0ivXwAAAABb6Z/Wm2C7TrrXCeRwNA37WVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "583a27445ea91d234ddc987c533c8c52", + "X-Processing-Time": "297ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:26.9033479-08:00" + "expiresOn": "2020-11-15T03:01:02.4115306\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "234", + "Content-Length": "239", "Content-Type": "application/json", + "Request-Id": "|2040bd2-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "25cdd99cd1e869e02601c64fab2e4019", + "x-ms-client-request-id": "77d376849e0f5b510fe20af631140a2a", "x-ms-return-client-request-id": "true" }, "RequestBody": { "topic": "Thread topic - ReadReceipts Test", - "members": [ + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290" }, { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291" } ] }, - "StatusCode": 207, + "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2", - "MS-CV": "81tTz0TsvEKy6gC2G7yF7Q.0", + "Date": "Sat, 14 Nov 2020 03:01:06 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737@thread.v2", + "MS-CV": "zGfwORpqq0qBjuP1jMWXDA.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAABENQ/9T0F7R56naa5RwuN1WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "371ms" + "X-Azure-Ref": "0cEivXwAAAACUfaQYFy9eT5Bf18/PYjA1WVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1390ms" }, "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "statusCode": 201, - "type": "ThreadMember" - }, + "id": "19:faa40ed8a247411c867062c8a7baf737@thread.v2", + "topic": "Thread topic - ReadReceipts Test", + "createdOn": "2020-11-14T03:01:05Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290", + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "statusCode": 201, - "type": "ThreadMember" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290", + "shareHistoryTime": "1970-01-01T00:00:00Z" }, { - "id": "19:3e46e8c6c90849b09242aeb1e8ba86db@thread.v2", - "statusCode": 201, - "type": "Thread" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291", + "shareHistoryTime": "1970-01-01T00:00:00Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", + "Request-Id": "|2040bd3-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "40c86ae18794fd638bcd59693bdf2969", + "x-ms-client-request-id": "9b6145f4664b4c183c4f6dece7b0a231", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -224,31 +223,32 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2/messages/1604630548646", - "MS-CV": "jF9ZR8eN4U2maEAiV1qETw.0", + "Date": "Sat, 14 Nov 2020 03:01:11 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737@thread.v2/messages/1605322871755", + "MS-CV": "Lfau3ISPn0u8Puus3K4J6Q.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAAAb8ccCq7fvRaT9N6dcYZMbWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "237ms" + "X-Azure-Ref": "0d0ivXwAAAADrHiAjhADSRqyMNQwmmf7yWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "401ms" }, "ResponseBody": { - "id": "1604630548646" + "id": "1605322871755" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", + "Request-Id": "|2040bd4-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "48b27e002cb185e1b5ecdfa8ab249571", + "x-ms-client-request-id": "df18e9a2dce5a5ecd6df48c6542dec39", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -258,89 +258,92 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2/messages/1604630548911", - "MS-CV": "adGNYuf5aEOhxcc6\u002BJfzeg.0", + "Date": "Sat, 14 Nov 2020 03:01:12 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737@thread.v2/messages/1605322872958", + "MS-CV": "3Eir82hLrkWcGAlvTv/sEQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAAAVIsuDyqAPTYYCjym2y6gZWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "172ms" + "X-Azure-Ref": "0eEivXwAAAACZw6YF2HNKQI8\u002BRLWZYDVjWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" }, "ResponseBody": { - "id": "1604630548911" + "id": "1605322872958" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", + "Request-Id": "|2040bd5-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "389c7ade9251152375cf991b78772e47", + "x-ms-client-request-id": "0d886dd1f1da1d075d863ac03065745f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630548911" + "chatMessageId": "1605322872958" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "MS-CV": "MKDVbjmWVUaWK3xy/JpYwQ.0", + "Date": "Sat, 14 Nov 2020 03:01:15 GMT", + "MS-CV": "TMCuEhIPJkKIp\u002BEHpQvsdg.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAABbsBt80\u002BKLRoVW6Fkzqy0bWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "95ms" + "X-Azure-Ref": "0ekivXwAAAABDUhTiIIEMRp7K5iJ5VLMXWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1084ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", + "Request-Id": "|2040bd6-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "2c4f5dd8f87cb46888428ba7a7ba5266", + "x-ms-client-request-id": "4754d9402bfb174558bbc56b1d52f80f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630548646" + "chatMessageId": "1605322871755" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "nl0\u002BwFf7mU6GKnla9vrOZA.0", + "Date": "Sat, 14 Nov 2020 03:01:17 GMT", + "MS-CV": "e/fpWZX8UkWconQIuzkKKQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAAA9BNkTQ0AwTIcxkLAKjxTPWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "70ms" + "X-Azure-Ref": "0fUivXwAAAAA8PA9MfI0BR4ZlB67/aaP0WVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "597ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|2040bd7-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "c18ae737f0436d175a9cd2e292c60d3e", + "x-ms-client-request-id": "7a1a34639428b156e2fa825fa12c7570", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -348,39 +351,40 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "IbDK5pBVC0\u002BUE7/CXw9eBA.0", + "Date": "Sat, 14 Nov 2020 03:01:23 GMT", + "MS-CV": "bxoosDmJu0\u002BPTcky8IlF0g.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FbikXwAAAAAFttVHxuG8Q51YjCTQvCunWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "53ms" + "X-Azure-Ref": "0g0ivXwAAAAAKxtEDvYmSRJ5I8m8mU2wnWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "chatMessageId": "1604630548646", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290", + "chatMessageId": "1605322872958", + "readOn": "2020-11-14T03:01:14Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "chatMessageId": "1604630548911", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291", + "chatMessageId": "1605322871755", + "readOn": "2020-11-14T03:01:17Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|2040bd8-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4ed097be68d5e6f512e7b00e077c6dbb", + "x-ms-client-request-id": "7b85e96ba4d9a53d2870b51f2b9b000a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -388,56 +392,57 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "WnQR0ce3Gkq52IbQoC\u002B/Uw.0", + "Date": "Sat, 14 Nov 2020 03:01:25 GMT", + "MS-CV": "sbeJfUF5MEaQ186JyPxUUQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FbikXwAAAAD4Aa9jHBibTp8V9wmXIM98WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "56ms" + "X-Azure-Ref": "0hUivXwAAAABZrTO2sbtaTJzvfmNZhtBiWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "255ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "chatMessageId": "1604630548646", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-8cf7-ea7c-5a3a0d000290", + "chatMessageId": "1605322872958", + "readOn": "2020-11-14T03:01:14Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "chatMessageId": "1604630548911", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6494-9564-ea7c-5a3a0d000291", + "chatMessageId": "1605322871755", + "readOn": "2020-11-14T03:01:17Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Afaa40ed8a247411c867062c8a7baf737%40thread.v2?api-version=2020-11-01-preview3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|2040bd9-4bb458555488f62b.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "90e3337d6cece70445e1d2df258521c2", + "x-ms-client-request-id": "fc5c2b8dfa4aac3683a26501a9e5762c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "EO/pq5Tls0eAONhOZANUEA.0", + "Date": "Sat, 14 Nov 2020 03:01:26 GMT", + "MS-CV": "c4fQ2iFpjEeQhSZzHtlC1w.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAAA24MLvYjlDS5GqIItywsKpWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "142ms" + "X-Azure-Ref": "0hkivXwAAAAAoxLpAzOtISbL\u002BzxtNnNxoWVRPMDFFREdFMDYxMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "338ms" }, "ResponseBody": [] } ], "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "1412654163" + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "2023588260" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json index 18743b0f51ae..643a774416ee 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json @@ -1,53 +1,54 @@ { "Entries": [ { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "traceparent": "00-36ba038a4a182744a38520f6ae48cf07-ed74609f27db334c-00", + "Date": "Sat, 14 Nov 2020 03:02:54 GMT", + "Request-Id": "00-5a714a0f0882cf43b0872dcd09d67c1e-5b39e0afdbf7ae4d-00", + "traceparent": "00-5a714a0f0882cf43b0872dcd09d67c1e-5b39e0afdbf7ae4d-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "b7134711a9192012de372d74db982e86", + "x-ms-client-request-id": "65bb3d6c17e5a192e278c94fe5756d97", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "MS-CV": "QBYTXGcOI0uPy8cShSrSSg.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:02:54 GMT", + "MS-CV": "apN06P2mvkCUGf7iSKimUQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IrikXwAAAAC8L8MxlA9kR6DMMlFNX75sWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "b7134711a9192012de372d74db982e86", - "X-Processing-Time": "205ms" + "X-Azure-Ref": "03kivXwAAAACp3JMhaK2fQoeqToI9mAk5WVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "65bb3d6c17e5a192e278c94fe5756d97", + "X-Processing-Time": "146ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "traceparent": "00-dd20bd9d7d333b4884f5797313a6ce5b-a59594bc92dfc64a-00", + "Date": "Sat, 14 Nov 2020 03:02:55 GMT", + "Request-Id": "00-9db295783e18e84f927cf9b10233d2f9-7d6ca1fcdae0404d-00", + "traceparent": "00-9db295783e18e84f927cf9b10233d2f9-7d6ca1fcdae0404d-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4d8bc77e77079335d16024debcd31777", + "x-ms-client-request-id": "a5fc19465fcb00558a4af9e8e852a825", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -58,70 +59,70 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "MS-CV": "fgsxZP1SukuE2sIKouCgWA.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:02:55 GMT", + "MS-CV": "/kqRGZic8021H6VcZZoGWA.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IrikXwAAAAA1BQftrOH5Q4xNp9CrjEKdWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "4d8bc77e77079335d16024debcd31777", - "X-Processing-Time": "283ms" + "X-Azure-Ref": "030ivXwAAAACeJ81cFmFMR51eGeGZre0lWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "a5fc19465fcb00558a4af9e8e852a825", + "X-Processing-Time": "296ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:42.1685413-08:00" + "expiresOn": "2020-11-15T03:02:54.5780171\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "traceparent": "00-04d31d8d352f1c40b207962c52d55721-c79f9805f3d9214c-00", + "Date": "Sat, 14 Nov 2020 03:02:56 GMT", + "Request-Id": "00-0e13d17d6fa2344cb0f127e4554192a4-a57601ea76217144-00", + "traceparent": "00-0e13d17d6fa2344cb0f127e4554192a4-a57601ea76217144-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "67186e6aadd13657f94174d53555cb7b", + "x-ms-client-request-id": "e8927d407df8f1b260c20ca2a47c60a0", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "MS-CV": "JYoYZg18Uk\u002Bsrq2BgF5Zlw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:02:56 GMT", + "MS-CV": "m2VUBRLUUEezprOqkJn7TQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAAB2ADDWuShiQ5MJm0Xly83SWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "67186e6aadd13657f94174d53555cb7b", - "X-Processing-Time": "210ms" + "X-Azure-Ref": "04EivXwAAAADvLi9kwiI1TKEQhVr2Xj8pWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e8927d407df8f1b260c20ca2a47c60a0", + "X-Processing-Time": "144ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "traceparent": "00-937b127df3be9a498004109c62ae7c1f-58da70cd863d8344-00", + "Date": "Sat, 14 Nov 2020 03:02:56 GMT", + "Request-Id": "00-0273927306a8ca4a8f0ea086a6c0e33e-577dcfb033e8d74c-00", + "traceparent": "00-0273927306a8ca4a8f0ea086a6c0e33e-577dcfb033e8d74c-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "f19fb0f2304f99e4127fe6b98533640b", + "x-ms-client-request-id": "bc512a3c73790c03e8badb9b1da9b890", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -132,95 +133,93 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "MS-CV": "blsOpdvsqkGxZUABIW16Rw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Sat, 14 Nov 2020 03:02:56 GMT", + "MS-CV": "l\u002BlbLHx0MUSZiE0XGhZAuw.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAABdu0VR4X3ORbiw5QvfMxfpWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "f19fb0f2304f99e4127fe6b98533640b", - "X-Processing-Time": "280ms" + "X-Azure-Ref": "04EivXwAAAAB\u002BJJCclSJ1T6H8RbMSPNCoWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "bc512a3c73790c03e8badb9b1da9b890", + "X-Processing-Time": "300ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:42.8427652-08:00" + "expiresOn": "2020-11-15T03:02:56.2100878\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "240", + "Content-Length": "245", "Content-Type": "application/json", - "traceparent": "00-0cd5f18f32ca944db9f5b3b37ecb50fc-21f83d641b3cb24b-00", + "Request-Id": "00-1658a845b78c194f90aa900aa104f9cf-bb31c7e52530f04d-00", + "traceparent": "00-1658a845b78c194f90aa900aa104f9cf-bb31c7e52530f04d-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "6d0ab520c780d0b5705553c603605e7b", + "x-ms-client-request-id": "680ea3d084e2c99f670a440853b25c0e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "topic": "Thread topic - ReadReceipts Async Test", - "members": [ + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de" }, { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df" } ] }, - "StatusCode": 207, + "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2", - "MS-CV": "Mx/0Y6/t7Ei371R/Li0pxA.0", + "Date": "Sat, 14 Nov 2020 03:02:58 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04@thread.v2", + "MS-CV": "idvc35v6XESZb3cWXjzMpA.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAAC0UBjhKO4/R4d9DXI0p2PCWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "272ms" + "X-Azure-Ref": "04kivXwAAAAAYhy4edEpyQYWZjFHAJarrWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "895ms" }, "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "statusCode": 201, - "type": "ThreadMember" - }, + "id": "19:9bf0367b6ac942ffa998f83fe00edf04@thread.v2", + "topic": "Thread topic - ReadReceipts Async Test", + "createdOn": "2020-11-14T03:02:58Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de", + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "statusCode": 201, - "type": "ThreadMember" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de", + "shareHistoryTime": "1970-01-01T00:00:00Z" }, { - "id": "19:e98a61d47941406a9ba0160efbeb95b3@thread.v2", - "statusCode": 201, - "type": "Thread" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df", + "shareHistoryTime": "1970-01-01T00:00:00Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-de9d328aff714e4898fc00f8cc20bd24-6654a7abdf637e4f-00", + "Request-Id": "00-de9a74edb76da9428a8101cfcc69df60-a0da95083656d14e-00", + "traceparent": "00-de9a74edb76da9428a8101cfcc69df60-a0da95083656d14e-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0ceba99426343927897e5552c79db1c5", + "x-ms-client-request-id": "bdac58e9ec01ccac7a86ff3da116d4b6", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -230,32 +229,33 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2/messages/1604630564417", - "MS-CV": "jR8nyxeawkWCGLN1GKveRg.0", + "Date": "Sat, 14 Nov 2020 03:03:00 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04@thread.v2/messages/1605322980966", + "MS-CV": "C396VUoXgEmLtOWb17zSiQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JLikXwAAAABWqOE4rlY5RrrEU3yIqnkXWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "211ms" + "X-Azure-Ref": "05EivXwAAAAA390JOKT0FQoa3cO9ZesFlWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" }, "ResponseBody": { - "id": "1604630564417" + "id": "1605322980966" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-26c9664abfae6a439766e7fc015272d0-b191fd49c0dab34b-00", + "Request-Id": "00-196d7894928897418815d2d5c3a13710-a54f878cc5e48046-00", + "traceparent": "00-196d7894928897418815d2d5c3a13710-a54f878cc5e48046-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "80b468dd5e4a2bfaface80fadd1e96b1", + "x-ms-client-request-id": "00d27c09f76db7bd8b87556f2efab836", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -265,91 +265,94 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2/messages/1604630564677", - "MS-CV": "3qJLY4PWJkuAn5lfuHjDtQ.0", + "Date": "Sat, 14 Nov 2020 03:03:02 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04@thread.v2/messages/1605322982123", + "MS-CV": "7/nn9TBuWEKGL8hEhJWeUA.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JLikXwAAAABCu\u002BWNaGcnQplrB\u002BH4HebBWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "175ms" + "X-Azure-Ref": "05UivXwAAAADuMm73IBu/Qrt9lbwAkTKhWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" }, "ResponseBody": { - "id": "1604630564677" + "id": "1605322982123" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", - "traceparent": "00-21ebe58622994a498134b7797e4662a9-dfb548ffa699874f-00", + "Request-Id": "00-6953b0b62dc73749adb3aeca392bd28b-b13757bdf8b73343-00", + "traceparent": "00-6953b0b62dc73749adb3aeca392bd28b-b13757bdf8b73343-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "db246a205748fad78dd1e401716209d2", + "x-ms-client-request-id": "c4b1cc5efbfde38ef741ee5c84622750", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630564677" + "chatMessageId": "1605322982123" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "eCQ8QUiXok6ZSknGgnULgg.0", + "Date": "Sat, 14 Nov 2020 03:03:03 GMT", + "MS-CV": "TkPvBWygukqixhCDNWU1XA.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JLikXwAAAACynk0/1F9FQZ47\u002Bh0pb5XxWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "76ms" + "X-Azure-Ref": "050ivXwAAAACV9vWaNiQYQ4CqY2sLxJ\u002BxWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1117ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", - "traceparent": "00-8ecc31fe4de38940a111564344cadf01-eb90e3add013c940-00", + "Request-Id": "00-f11c2a93c48f0d4a96a4e0b8529f73c9-69882ba2e1e2e94d-00", + "traceparent": "00-f11c2a93c48f0d4a96a4e0b8529f73c9-69882ba2e1e2e94d-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "9ae98da3deab3631aebf1165a52d5c6a", + "x-ms-client-request-id": "d7fe8e365be0f2a09bf5327a973c9d7f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630564417" + "chatMessageId": "1605322980966" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "o620Ry2zS0KCWW/hYI9Opg.0", + "Date": "Sat, 14 Nov 2020 03:03:05 GMT", + "MS-CV": "QrbdmXZl0UGCNDpAEKuepw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JbikXwAAAABUa3j2cqTjRpBlPrme8NgTWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "68ms" + "X-Azure-Ref": "06UivXwAAAABlp/71FTfjSasVtzBNxe2oWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "600ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|dd20fb7c-498a233c7894ca50.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "5c31a4e8d579857d91baf2787af9ba97", + "x-ms-client-request-id": "d5dec9ce0f640eb9edee082b09613229", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -357,39 +360,40 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "tvWh4ijFUE61yTzYyi/10w.0", + "Date": "Sat, 14 Nov 2020 03:03:09 GMT", + "MS-CV": "enDh/OMu9UKre1GLMN7F/w.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JbikXwAAAABeKP7MLW/bRZmD1viROmUoWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "57ms" + "X-Azure-Ref": "07UivXwAAAAC7Sz59N0EjRK0JhtKC888qWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "chatMessageId": "1604630564677", - "readOn": "2020-11-06T02:42:44Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de", + "chatMessageId": "1605322982123", + "readOn": "2020-11-14T03:03:03Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "chatMessageId": "1604630564417", - "readOn": "2020-11-06T02:42:45Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df", + "chatMessageId": "1605322980966", + "readOn": "2020-11-14T03:03:05Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|dd20fb7d-498a233c7894ca50.", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4f56adc5fb35420539ee2d8845715460", + "x-ms-client-request-id": "a038045fe0fb02552cbf2908c8144cbb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -397,57 +401,58 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "MS-CV": "tLaL9a7yHk\u002BHDjBECe2OHQ.0", + "Date": "Sat, 14 Nov 2020 03:03:10 GMT", + "MS-CV": "Kl8pGmba\u002BUeCPxqxNj4o7g.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JbikXwAAAAAieUGaM8nFSr7E4epmR8UHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "53ms" + "X-Azure-Ref": "07kivXwAAAAD6ywE2vCyKRIv6TlZfVadkWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "253ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "chatMessageId": "1604630564677", - "readOn": "2020-11-06T02:42:44Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-4b26-8a72-5a3a0d0002de", + "chatMessageId": "1605322982123", + "readOn": "2020-11-14T03:03:03Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "chatMessageId": "1604630564417", - "readOn": "2020-11-06T02:42:45Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6496-51f1-8a72-5a3a0d0002df", + "chatMessageId": "1605322980966", + "readOn": "2020-11-14T03:03:05Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A9bf0367b6ac942ffa998f83fe00edf04%40thread.v2?api-version=2020-11-01-preview3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-8462d620871f36458f83ba8a1ca3c477-dfde5e3d7b768240-00", + "Request-Id": "00-e7fd8000fd350f4f85f54d7caa8cd908-90f2aeb19e708049-00", + "traceparent": "00-e7fd8000fd350f4f85f54d7caa8cd908-90f2aeb19e708049-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "cd197975ac31ce59106309f0ebb8bbb5", + "x-ms-client-request-id": "ba8d6ea3528327ecd5f0eaf25374e839", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "MS-CV": "evBUhsgJu0K9ZNFk7MvZNA.0", + "Date": "Sat, 14 Nov 2020 03:03:11 GMT", + "MS-CV": "KtRbiq2\u002BNEW16Ov7dfxNzw.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JbikXwAAAABmG7q7dccVSb3JOWEITrymWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "142ms" + "X-Azure-Ref": "070ivXwAAAAD2bMYCPpLdToe0vMZk/nQMWVRPMDFFREdFMDYwNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "323ms" }, "ResponseBody": [] } ], "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "88635572" + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "1649358197" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json deleted file mode 100644 index 4e38601aea2a..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json +++ /dev/null @@ -1,1842 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0f011a5a0a6459ed9c6c303a5efbfc39", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "MS-CV": "\u002Bbz985k3HUKMQLc2W6Hksw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FrikXwAAAAAyvi/E80WDS7RuRJJpIf05WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "0f011a5a0a6459ed9c6c303a5efbfc39", - "X-Processing-Time": "207ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "745517da205d617fb40305eb094f84cb", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "MS-CV": "Uz/iJKrraEClO1TAbjwAQw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FrikXwAAAADB0qIwKiWlRbnjHCnsad/0WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "745517da205d617fb40305eb094f84cb", - "X-Processing-Time": "278ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:29.6529018-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "11d9600d77fce11715a8ad43c94f5cf5", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:30 GMT", - "MS-CV": "StJvR86KU0mmgkdcONo88g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FrikXwAAAAC1d4brVBe3SK5Qv3c9P4fOWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "11d9600d77fce11715a8ad43c94f5cf5", - "X-Processing-Time": "209ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "529efc10ef1d3adb9a9f5b600402504d", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "MS-CV": "4THgWUGjj06XE5jKINlnRw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0F7ikXwAAAADN4woaEA4xRIygIBN7lwV9WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "529efc10ef1d3adb9a9f5b600402504d", - "X-Processing-Time": "281ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:30.3217272-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fe2c64e7eb21633cff735eb4733c9865", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "MS-CV": "2XtG4oVRgkC6y9uHB2oErQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0F7ikXwAAAABKSbgTGmuERbTqgIV28F85WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "fe2c64e7eb21633cff735eb4733c9865", - "X-Processing-Time": "208ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0dda10a731b01dad849f765c1cb7dd13", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:31 GMT", - "MS-CV": "BCccnQlUiECkImRrT32\u002Bzg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0F7ikXwAAAAAaZMGgbR\u002BLTbBQ4mSi3oueWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "0dda10a731b01dad849f765c1cb7dd13", - "X-Processing-Time": "286ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:30.9987513-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:32 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "645b60585d2225d4bf3b53aa9027c65e", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:32 GMT", - "MS-CV": "L7Fo9uP3hUyOKxJTfCiaiQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GLikXwAAAAC4JOoWlZP/RrkPNzZUO/whWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "645b60585d2225d4bf3b53aa9027c65e", - "X-Processing-Time": "205ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:32 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f3b8f5074227b69cb60f798174df4747", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:32 GMT", - "MS-CV": "9Ae49j4FBEiThWtKkyRn6w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GLikXwAAAADT65baoZDBSptgtuIA/LxBWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "f3b8f5074227b69cb60f798174df4747", - "X-Processing-Time": "278ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:31.6605738-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "314", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "135b4b9634e049433cb54d74dd038c5d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:32 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2", - "MS-CV": "yAMdaLpE7EG5XoZ75uPa0w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GLikXwAAAABVV02ZthrsS52D56r\u002Bm8jgWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "243ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "314", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "265518d8e9fe16ebc3a5ae13e452b0e0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:33 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acf284114a2e34843ba8a0ba194bf65e2@thread.v2", - "MS-CV": "vJUJG7XPjUGqcakhOqn8qw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GbikXwAAAABtyTfy9cliRaljk\u002BvTe9VsWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "274ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:cf284114a2e34843ba8a0ba194bf65e2@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "26", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "45140bf4b3cbd37db26eb771f428d8b3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Launch meeting" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:33 GMT", - "MS-CV": "dFqhcnvPUUO\u002Bvrf4H7UQYA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0GbikXwAAAACTcbvOEHhWSbuwM4muODfBWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "176ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5ba81b822089ac4860454f3b853065ea", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:33 GMT", - "MS-CV": "rj\u002B1849MtE6hm8yghrH4ug.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GbikXwAAAADQWIk3cirYTqF1SRSJuVl9WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "56ms" - }, - "ResponseBody": { - "id": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2", - "topic": "Launch meeting", - "createdOn": "2020-11-06T02:42:32Z", - "createdBy": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d2806d0447ef25919b827390327a219b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:33 GMT", - "MS-CV": "MAgKESSbz0mOgh4OtQVe\u002Bw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GbikXwAAAAC4d8l\u002BjptJSapdLDb/gNJ5WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "24ms" - }, - "ResponseBody": { - "value": [ - { - "id": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2", - "topic": "Launch meeting", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-06T02:42:32Z" - }, - { - "id": "19:cf284114a2e34843ba8a0ba194bf65e2@thread.v2", - "topic": "Thread sync from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-06T02:42:33Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "32", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c890facd55a9d357c267e58663414d82", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Let\u0027s meet at 11am\u0022}", - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:33 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2/messages/1604630554136", - "MS-CV": "xNjOW9l6eEudUqOa4uZTgA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GbikXwAAAAAmAwA/IBfLRLS\u002B/V4Pc434WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "280ms" - }, - "ResponseBody": { - "id": "1604630554136" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Acf284114a2e34843ba8a0ba194bf65e2%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "876dcd0905a73ac48983c006adb87ae6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:34 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acf284114a2e34843ba8a0ba194bf65e2@thread.v2/messages/1604630554431", - "MS-CV": "4avOSeiCjEmX1EDTD6lpFQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GrikXwAAAACLgeZCkycGRKerwu5l/P9kWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "213ms" - }, - "ResponseBody": { - "id": "1604630554431" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8b6eb4239d9faf4115ad0f87620bc159", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:34 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2/messages/1604630554726", - "MS-CV": "DjOkz2mrMU6nPo6mwYPX3g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GrikXwAAAADCjAOQCvVsRLbwqiSCh21SWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "201ms" - }, - "ResponseBody": { - "id": "1604630554726" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "6587f135990cc7f336563e259450260a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:34 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2/messages/1604630555018", - "MS-CV": "LILRK0xt10KF3Pgwf\u002BiQeA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0GrikXwAAAADkp1wqRs/yS7vHeoVeeN8BWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "206ms" - }, - "ResponseBody": { - "id": "1604630555018" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "af62ffedc1d36ce38cbd71faf63cd87e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:35 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2/messages/1604630555313", - "MS-CV": "2KWbpSFaZEGnEbfSatmRnQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0G7ikXwAAAACZwiwxsM/dQpKl0DrvUhvpWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "204ms" - }, - "ResponseBody": { - "id": "1604630555313" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "bcd167c215318ad9c1a654485e1b1bc5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:35 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9@thread.v2/messages/1604630555608", - "MS-CV": "dorSoPxnXkOsYNLhB9mwZQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0G7ikXwAAAACR7Lfd8pGnSI/f3Kjn1NeuWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "205ms" - }, - "ResponseBody": { - "id": "1604630555608" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630554136?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "639a058712a973850d1bd94f27f8d0f9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:35 GMT", - "MS-CV": "IzuKPsngcE2ClQ6jdBFP8Q.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0G7ikXwAAAAAXpzKlHPWxRYMX5UXcSDUGWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "147ms" - }, - "ResponseBody": { - "id": "1604630554136", - "type": "Text", - "priority": "Normal", - "version": "1604630554136", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Acf284114a2e34843ba8a0ba194bf65e2%40thread.v2/messages/1604630554431?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2c63c07e697fd7d926d7ed2d6d9a0d70", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:35 GMT", - "MS-CV": "UHjWpZZshEq4LTBwSdszRw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HLikXwAAAABGIMux\u002BaitT4Ms84RigcWlWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "122ms" - }, - "ResponseBody": { - "id": "1604630554431", - "type": "Text", - "priority": "High", - "version": "1604630554431", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630554726?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f173aca274a2afd5e15dae163c8962c8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:36 GMT", - "MS-CV": "NiAF1CTErUyHQ59eDL/TdA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HLikXwAAAAC4tgSKsRKVSp2MnEKyUqHbWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "142ms" - }, - "ResponseBody": { - "id": "1604630554726", - "type": "Text", - "priority": "High", - "version": "1604630554726", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630555018?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "9eca5ad5eeb71d462bc23dd124580673", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:36 GMT", - "MS-CV": "OnYW7rfeK0GbQOpZNkrZMw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HLikXwAAAAB/jJWS9NF2SZMMG\u002Br6A9IAWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "149ms" - }, - "ResponseBody": { - "id": "1604630555018", - "type": "Text", - "priority": "High", - "version": "1604630555018", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630555313?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7bad680ddf840957ebb34a21bbc29b9c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:36 GMT", - "MS-CV": "Oo8VHCmBSESYNFQsmYAh0w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HLikXwAAAAC9BUrPDjgHTLAVCgneSJpfWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "151ms" - }, - "ResponseBody": { - "id": "1604630555313", - "type": "Text", - "priority": "High", - "version": "1604630555313", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630555608?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "135724756fcfb3b86656c5e037038b89", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:36 GMT", - "MS-CV": "RwGfDPvNYk2ppoiKDOngEQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HLikXwAAAABkTcHh1ZbcQbSN\u002B5pY4HL/WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "143ms" - }, - "ResponseBody": { - "id": "1604630555608", - "type": "Text", - "priority": "High", - "version": "1604630555608", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d4083a57e7dbf64403c1b304a3246169", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:37 GMT", - "MS-CV": "QhAf1iKfZ0K2M2ciOL8X1w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HbikXwAAAADE13yLgcDxRYrRoC/\u002BHd8AWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "133ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630555608", - "type": "Text", - "priority": "High", - "version": "1604630555608", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630555313", - "type": "Text", - "priority": "High", - "version": "1604630555313", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630555018", - "type": "Text", - "priority": "High", - "version": "1604630555018", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630554726", - "type": "Text", - "priority": "High", - "version": "1604630554726", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630554136", - "type": "Text", - "priority": "Normal", - "version": "1604630554136", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - }, - { - "id": "1604630553554", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630553554", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630553554\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:33Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - }, - { - "id": "1604630552927", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630552927", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630552927\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - }, - { - "id": "1604630552872", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630552872", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630552872\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003CrosterVersion\u003E1604630552787\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Acf284114a2e34843ba8a0ba194bf65e2%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ff5ca027f2019ea4affa142e1a77d1e7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:37 GMT", - "MS-CV": "\u002BYzWWcvJIkeaeQZTPPKsKw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HbikXwAAAABf/hQ8qaXJRo\u002Bf0nf2KjvYWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "100ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630554431", - "type": "Text", - "priority": "High", - "version": "1604630554431", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - }, - { - "id": "1604630553287", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630553287", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630553287\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:33Z", - "senderId": "19:cf284114a2e34843ba8a0ba194bf65e2@thread.v2" - }, - { - "id": "1604630553227", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630553227", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630553227\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003CrosterVersion\u003E1604630553142\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:33Z", - "senderId": "19:cf284114a2e34843ba8a0ba194bf65e2@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "81cac128c6ba8dc0e0610f0dbbb40f42", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:37 GMT", - "MS-CV": "HfFKoVrh5kaowj32CfAy6g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HbikXwAAAACSiO/sYsGzS6ZWJqxY49s/WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "93ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630555608", - "type": "Text", - "priority": "High", - "version": "1604630555608", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630555313", - "type": "Text", - "priority": "High", - "version": "1604630555313", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e763201b12a6f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e763201b12a6f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "97b85cf58ba76488966a24e1d315dc8c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:37 GMT", - "MS-CV": "sSH6GFScME6SGhpnhf0tgA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HbikXwAAAACp9NdvBpbbRK9xwM0U6E0oWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "174ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630555018", - "type": "Text", - "priority": "High", - "version": "1604630555018", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630554726", - "type": "Text", - "priority": "High", - "version": "1604630554726", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e76320166286f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e76320166286f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e2dbcbefe05960afdfce1e9fe396e2fa", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:37 GMT", - "MS-CV": "yw63w0OltEyR2nbQEvHwJw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HrikXwAAAABTp8PoPgaeR7Vg5a2WjMzHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "159ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630554136", - "type": "Text", - "priority": "Normal", - "version": "1604630554136", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14" - }, - { - "id": "1604630553554", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630553554", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630553554\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:33Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e763201d2236f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e763201d2236f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "bd38d2ea3abe9c403966ea4fa2dfbaca", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:38 GMT", - "MS-CV": "Ho\u002BiPTvhQEmY6iQ1v03kjg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HrikXwAAAABiZQeeNiWiSJNCXDWANu5SWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "170ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630552927", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630552927", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630552927\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - }, - { - "id": "1604630552872", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630552872", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630552872\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003CrosterVersion\u003E1604630552787\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e76320128216f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:c186ef548ce24443b1ae083870cc9ab9@thread.v2/messages?syncState=3e2d00000031393a6331383665663534386365323434343362316165303833383730636339616239407468726561642e76320128216f9b75010000d82b6f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f01e83852dd914e8ad57b7d86ce88100", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:38 GMT", - "MS-CV": "/VEcZ2gKREucDmY\u002BrdaFXg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0HrikXwAAAACgQuxDgUG6R4ISHiZiYwkwWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "167ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630554136?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "48", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "01f729871eddb5cd8b3ea9f3f55fbe00", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Instead of 11am, let\u0027s meet at 2pm\u0022}", - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:39 GMT", - "MS-CV": "CYA\u002BSrGTREeyoU9tf9F4yw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0HrikXwAAAAD4YD9pmhCySoPZYQFnR/CeWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "452ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630554136?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5f1a5414f278bc21e923106683673050", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:39 GMT", - "MS-CV": "VJB5pdUhOUOdjo1Mkn3UJw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0H7ikXwAAAAD0yNiwSljaRKlnWUyUhk6tWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "111ms" - }, - "ResponseBody": { - "id": "1604630554136", - "type": "Text", - "priority": "Normal", - "version": "1604630559163", - "content": "Instead of 11am, let\u0027s meet at 2pm", - "senderDisplayName": "", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "editedOn": "2020-11-06T02:42:39Z" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages/1604630554136?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "78c8eae4b8e766edb669649a84f51f4e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:39 GMT", - "MS-CV": "72\u002Balz0QY0Wj1rSK3UdOJw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0H7ikXwAAAADnst8UPQr/Tpu0fm6ndUsOWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "283ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "18c3b69922cd9587073b17b90d663124", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:39 GMT", - "MS-CV": "0PXKMpDgD0Ks34apFX4G1g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0H7ikXwAAAACUQAndQOaGRJX3gYB0umotWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "137ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630554136", - "type": "Text", - "priority": "Normal", - "version": "1604630559734", - "content": "", - "senderDisplayName": "", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "deletedOn": "2020-11-06T02:42:39Z" - }, - { - "id": "1604630555608", - "type": "Text", - "priority": "High", - "version": "1604630555608", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630555313", - "type": "Text", - "priority": "High", - "version": "1604630555313", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630555018", - "type": "Text", - "priority": "High", - "version": "1604630555018", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:35Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630554726", - "type": "Text", - "priority": "High", - "version": "1604630554726", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:34Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16" - }, - { - "id": "1604630553554", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630553554", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630553554\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:33Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - }, - { - "id": "1604630552927", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630552927", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630552927\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - }, - { - "id": "1604630552872", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630552872", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630552872\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/initiator\u003E\u003CrosterVersion\u003E1604630552787\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:32Z", - "senderId": "19:c186ef548ce24443b1ae083870cc9ab9@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0a0e580e45975b1966b3a80f8d8737f4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:40 GMT", - "MS-CV": "Dt6dywp4KE2GBRZFh2/MFw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ILikXwAAAAA2/KTN9dIFSawnjR/o/W5TWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "137ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "102", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ccccc20418a3c282623270aca134594f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:40 GMT", - "MS-CV": "XJ1tDLqHAkKtIgbL21kmaQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ILikXwAAAADvDwL3GwsETqaKEWcH2zp2WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "405ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2c8b403714e654b79d67b11a79780780", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:40 GMT", - "MS-CV": "kyd1PsPK0EScLeZqtNX37w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ILikXwAAAAAATqWCGhHNSrwK\u002BVpD5N36WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "162ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/members/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-c29f-80f5-8b3a0d000d17?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4bb423036499f680d54ca764d46dba31", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:41 GMT", - "MS-CV": "G9URdaww6kCiJraWC/EK\u002BA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0IbikXwAAAADq0xIeoRi6RJJBlRes/CkjWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "375ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4dd7585a0bfbef0e0b782f3c666849ea", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:41 GMT", - "MS-CV": "GUebWfdEEUSC9YCA6f2FSg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IbikXwAAAADf8I3EOqeDSqEWZyazvCpVWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "84ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bac8-80f5-8b3a0d000d14", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bd61-80f5-8b3a0d000d15", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-bffa-80f5-8b3a0d000d16", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7ea8f02a0d7fd2b6c09556996c527f30", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:41 GMT", - "MS-CV": "/i8WcnDsokuKCg62PC5lzA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0IbikXwAAAAD0pv5\u002BLtw\u002BRKUPczaUuLx3WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "105ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "20bf80adbaa0f78415c540203544906d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:41 GMT", - "MS-CV": "gkGJ05Ue0kWXyEfXSAm4wQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0IrikXwAAAABM\u002BCje1yqwR4tQGiSciMLHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "122ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ac186ef548ce24443b1ae083870cc9ab9%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e439bd033cc44db2a2058d65b47482b8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "MS-CV": "H7tC6xEmk0KGqiLNedCyMg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0IrikXwAAAAAbMeX90u4XQphZWTQgEWEdWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "151ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "1094461385" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json deleted file mode 100644 index fdb2f696137a..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json +++ /dev/null @@ -1,1880 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "traceparent": "00-193c0d826df2b249b4c096728a501479-f26f0d7159ce5f46-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "17b9707bf6d6deb0097f48576e453847", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "MS-CV": "4xNeJm3VXkOK8I9Qs9xU6Q.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JbikXwAAAAD285pxZOhkQJlLPOIyCL1sWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "17b9707bf6d6deb0097f48576e453847", - "X-Processing-Time": "208ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "traceparent": "00-f0b48e76743443498a86195d47a51caa-8a6808daa1d97840-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "26e52c9bdb5d4f0b1cb123c4f6c3d771", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "MS-CV": "6t8FR82AO0Ou/6k/1heo/A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JrikXwAAAABKzc88yrNARpGSeL3PS3CVWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "26e52c9bdb5d4f0b1cb123c4f6c3d771", - "X-Processing-Time": "279ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:45.3638167-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "traceparent": "00-77ffe9aa219d78489ec2b22652c7ba1b-62fec656f6ca4242-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8cab370b5c96cb0daf1e18f1a55665b0", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "MS-CV": "21E6rFMxJE2/FV2vpCylwg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JrikXwAAAAAearO10VocS7FJkWoaAYlXWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "8cab370b5c96cb0daf1e18f1a55665b0", - "X-Processing-Time": "206ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "traceparent": "00-006adb04de17604c88edfdbcf8e51562-b31a931ceb4bcd42-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c3987cb22c9b9fa26569fb25d2ebe845", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "MS-CV": "AfXmUKo8v0mb2onLxK9OoQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JrikXwAAAAB7rTsEQiSvQrgKq0ZylgbIWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "c3987cb22c9b9fa26569fb25d2ebe845", - "X-Processing-Time": "282ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:46.0372393-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:47 GMT", - "traceparent": "00-cbf4d83556c8774b8518d35d34eeed86-04d5d74577084d48-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "374cd6a7ab993eb01f1a773ec31aa9c5", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:46 GMT", - "MS-CV": "07yh2vqmLEKbyOEa3urogA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0J7ikXwAAAAAjsfa3auCBQog6EcOQ7SgHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "374cd6a7ab993eb01f1a773ec31aa9c5", - "X-Processing-Time": "209ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:47 GMT", - "traceparent": "00-dff0efd77f67a04da5d963a586c29a57-b0095e8be3d1984f-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7911734b132bded6950b272c61e7f8c4", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:47 GMT", - "MS-CV": "MiNAPOHfY0WV\u002Ba\u002BVEU2S/w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0J7ikXwAAAACL3d4ldzw2SIFds/oyBujRWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "7911734b132bded6950b272c61e7f8c4", - "X-Processing-Time": "277ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:46.7067053-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:47 GMT", - "traceparent": "00-fa1221632040c6459c96d622e5e1198b-0549181932585447-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "cf49d3362e0a0716cb59a481b564dc4a", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:47 GMT", - "MS-CV": "QW3tKhLHEkOc8ETXsp/Fzw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0J7ikXwAAAADfX0Urj5FeS6dGdvHQ2vq5WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "cf49d3362e0a0716cb59a481b564dc4a", - "X-Processing-Time": "206ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:48 GMT", - "traceparent": "00-9cb6ac3b4d35db49b5bacd588032e4c0-33a0c8f3e2bfa048-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5fd935c06ed99319006da18e8383dd38", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:48 GMT", - "MS-CV": "7NJ0e9JHiUqtJ8JZeG11rw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KLikXwAAAAAA5cf9YHlUQaE3RysCGxiMWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "5fd935c06ed99319006da18e8383dd38", - "X-Processing-Time": "280ms" - }, - "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d", - "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:47.3704413-08:00" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "315", - "Content-Type": "application/json", - "traceparent": "00-b44a5ea217a669448e0dd20ce5e1e9d3-64c73de858565641-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ef07b221dad01dbb5d0aadd26f542830", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:48 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2", - "MS-CV": "mW6u5ItKkU2Rfnfxki/\u002Bag.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KLikXwAAAACp1/dpUiICRqNONJHEVHK4WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "274ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "315", - "Content-Type": "application/json", - "traceparent": "00-3e298d821b0424459a7fd3f5d2e05daf-c2c151398c6f224c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2b6cdd2e990ec8eabab5cf9c8c888347", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:48 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2d25a421c7ab4202926d9b1b7cc234b8@thread.v2", - "MS-CV": "NYdnVMZ15E2pPHSM5tc52g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KLikXwAAAADw8jpDSQ14SJLNTYOfbj5zWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "245ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:2d25a421c7ab4202926d9b1b7cc234b8@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "34", - "Content-Type": "application/json", - "traceparent": "00-8e0613bc4157bc4f9b1c9a443ef87d0e-825acd1bf88d1f4a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "035f6b7bed5ce57a79bc02cfc04724ab", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Updated topic - C# sdk" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:48 GMT", - "MS-CV": "k9S49pCVbUGY5aPrqvQi\u002BQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0KbikXwAAAAASj/EyBBbXRLRNihU2TO4OWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "177ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-42e3e6d90a1dcf4d81d3d5c7dfc1d4a8-f092529b80548e49-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a65f7145b117882ac83f351a0b1e91d5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:49 GMT", - "MS-CV": "HLi8mssWOUaYEqoqzgXdcA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KbikXwAAAABg6nZz1iRkR5/EK7pYhAGAWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": { - "id": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2", - "topic": "Updated topic - C# sdk", - "createdOn": "2020-11-06T02:42:48Z", - "createdBy": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0356668725f441d36287b152971b0772", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:49 GMT", - "MS-CV": "ciD//OoxyUqD3ob6Bx/ZBQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KbikXwAAAACK49CbtWtUTKosCELvtqPUWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "24ms" - }, - "ResponseBody": { - "value": [ - { - "id": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2", - "topic": "Updated topic - C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-06T02:42:48Z" - }, - { - "id": "19:2d25a421c7ab4202926d9b1b7cc234b8@thread.v2", - "topic": "Thread async from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-06T02:42:48Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-9e0655d6941ae144beb99210e837da11-17e99d7e47697f4d-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1b572391dc29c93041d73a1db85fda5a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:49 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2/messages/1604630569826", - "MS-CV": "16ccAiwPVUK2Q1/XN7D7PA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KbikXwAAAABC5zo8flkWQ5SiD58FsHk7WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "250ms" - }, - "ResponseBody": { - "id": "1604630569826" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2d25a421c7ab4202926d9b1b7cc234b8%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-7ac7f4b3b446c4469372a164e1cb6417-c2f4135ef084f64f-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5a472d2b20f01fb69d1d439000d7f1ad", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:49 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2d25a421c7ab4202926d9b1b7cc234b8@thread.v2/messages/1604630570141", - "MS-CV": "I21qam2qZ02E4lca8XGPAw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KrikXwAAAADKLbEofED0TbbruZ1TK8/GWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "230ms" - }, - "ResponseBody": { - "id": "1604630570141" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-0f0348e6201f8f4b994443cb951aa953-1777d36a60b45b47-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e789c23875c7abab358dc11deab68903", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2/messages/1604630570452", - "MS-CV": "nzWyymTJ6kWVhEWkkMgXhw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KrikXwAAAADYZu2Y0jlvQZWr/36weSg\u002BWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "201ms" - }, - "ResponseBody": { - "id": "1604630570452" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-62bad4df1b7baa41aaa48930d3ff3856-1a07ee60ee6c6841-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "6a2757acacd370826c377d0b98a0c969", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2/messages/1604630570748", - "MS-CV": "U2/nV/u\u002Bc0W96OKnG3u3KQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KrikXwAAAAD090h6TWWWRY8nVJH/xOnNWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "212ms" - }, - "ResponseBody": { - "id": "1604630570748" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-4539df820cdedd4dbbae5d1d912ee122-32db17e8b2fdec42-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f5e58de5f2d5b593819c25635f9935e6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2/messages/1604630571043", - "MS-CV": "7umDVGNcYEa\u002BeurBaPF3XQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0KrikXwAAAACishfS1DPdSJEJAHxTnLG4WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "207ms" - }, - "ResponseBody": { - "id": "1604630571043" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-4164ad7c5899f6459ec91ec8b31049b3-34653833fb181545-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a8e3409487b08bd940187b90f7a01295", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:51 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17@thread.v2/messages/1604630571350", - "MS-CV": "x2drlkgU7ESx9d\u002BE1xdOKA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0K7ikXwAAAAC7mUulIWMJQI\u002BaIAftRkEaWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "213ms" - }, - "ResponseBody": { - "id": "1604630571350" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630569826?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-986e056f2f4ae048a5f8822b314c2345-90b34f2ff5c42645-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5d3757c393d1ba2dc471e837871e11d3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:51 GMT", - "MS-CV": "IXFLYFMcWUyBrsYxXziYtQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0K7ikXwAAAABBKU96ur09RpdVN1mi94VHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "150ms" - }, - "ResponseBody": { - "id": "1604630569826", - "type": "Text", - "priority": "High", - "version": "1604630569826", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2d25a421c7ab4202926d9b1b7cc234b8%40thread.v2/messages/1604630570141?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-f265e81530a056458a0660ea2a08b1ec-b5d8c84fc3d0694e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5877970220bc5eb9b35ab5bd7702bde1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:51 GMT", - "MS-CV": "himD6l805EiecNwwcSJXNg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0K7ikXwAAAADDwtTbiietT5vIkRzNHCZ\u002BWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "133ms" - }, - "ResponseBody": { - "id": "1604630570141", - "type": "Text", - "priority": "High", - "version": "1604630570141", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630570452?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-9a278587a1a19b4fb197905dd60aa07c-79316de89ae5ce43-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "079f8f89d76100151229e43e9ea10321", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:51 GMT", - "MS-CV": "FbwzgiQfxEa65oWc7OaFTA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LLikXwAAAACWjnYvpgSdSr249rreDCNbWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "149ms" - }, - "ResponseBody": { - "id": "1604630570452", - "type": "Text", - "priority": "High", - "version": "1604630570452", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630570748?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-cb80fb517a26c546ae482ae9a405dec3-77d96c10e9d7b84a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "608ea807ba28a2d89ed9a977de7042c1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:52 GMT", - "MS-CV": "pMN\u002BfLIOvEmRv/YubMyjig.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LLikXwAAAAA6Tsdwg6PISL322RogsNQ1WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "151ms" - }, - "ResponseBody": { - "id": "1604630570748", - "type": "Text", - "priority": "High", - "version": "1604630570748", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630571043?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-98b725bf4ede964d9d627e44c88f5e5a-62e057f6b44bd946-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f7ae07b4097e2a72817745933b7ac011", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:52 GMT", - "MS-CV": "dIFxaFqS80yMIFaq84DE\u002Bg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LLikXwAAAACpF453ado9QLh7RgXNXSW9WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "147ms" - }, - "ResponseBody": { - "id": "1604630571043", - "type": "Text", - "priority": "High", - "version": "1604630571043", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630571350?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-76bdb03548139e44a66f0bcf41450cc2-15d835d54fe0114d-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ceb593565c74cfb8b7fd68872d9e21a2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:52 GMT", - "MS-CV": "FEgOrm9bwk\u002B4rVciYeZagA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LLikXwAAAADXzhmCMl3FTpWfn9GT03/1WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "153ms" - }, - "ResponseBody": { - "id": "1604630571350", - "type": "Text", - "priority": "High", - "version": "1604630571350", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "968a23e60bf3fda23563deb174446624", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:52 GMT", - "MS-CV": "WnT1Y9aWNU2jvLRJwIXEYA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LLikXwAAAAASAI2TbX3JR4pVo29jtMZUWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "128ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630571350", - "type": "Text", - "priority": "High", - "version": "1604630571350", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630571043", - "type": "Text", - "priority": "High", - "version": "1604630571043", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630570748", - "type": "Text", - "priority": "High", - "version": "1604630570748", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630570452", - "type": "Text", - "priority": "High", - "version": "1604630570452", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630569826", - "type": "Text", - "priority": "High", - "version": "1604630569826", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - }, - { - "id": "1604630569273", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630569273", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630569273\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - }, - { - "id": "1604630568659", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630568659", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630568659\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - }, - { - "id": "1604630568604", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630568604", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630568604\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003CrosterVersion\u003E1604630568524\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2d25a421c7ab4202926d9b1b7cc234b8%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4a20971874bb574c4fde4081a1eafce3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:52 GMT", - "MS-CV": "SjQ0FuwKlEeyKv0uHFJfKA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LbikXwAAAAAdl9I4WjkmSYf1gK4Q52RqWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "109ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630570141", - "type": "Text", - "priority": "High", - "version": "1604630570141", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - }, - { - "id": "1604630568995", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630568995", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630568995\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:2d25a421c7ab4202926d9b1b7cc234b8@thread.v2" - }, - { - "id": "1604630568940", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630568940", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630568940\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003CrosterVersion\u003E1604630568860\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:2d25a421c7ab4202926d9b1b7cc234b8@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "18aca3552aef4b1ef1b799117e075a72", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:53 GMT", - "MS-CV": "VVWy\u002B5IcR0KrwXITt5AtUw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LbikXwAAAACxKC3Wt3B/Ro\u002BSwSAe9Hj1WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "92ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630571350", - "type": "Text", - "priority": "High", - "version": "1604630571350", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630571043", - "type": "Text", - "priority": "High", - "version": "1604630571043", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e76320123686f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e76320123686f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "956e4496d77e72e6d7324614cb215c4b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:53 GMT", - "MS-CV": "FLrepYmGrk\u002BulmqjRu80dg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LbikXwAAAABj1S9S1VzPT7JjdS5xLKmXWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "167ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630570748", - "type": "Text", - "priority": "High", - "version": "1604630570748", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630570452", - "type": "Text", - "priority": "High", - "version": "1604630570452", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e763201d4656f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e763201d4656f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d15bfb664e97ee3479d45903db3bd948", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:53 GMT", - "MS-CV": "FOyKjLH2x0ecflNWuHfiRQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LbikXwAAAAA7Oa1eaW9/QLU6eEqKaPhPWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "174ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630569826", - "type": "Text", - "priority": "High", - "version": "1604630569826", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a" - }, - { - "id": "1604630569273", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630569273", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630569273\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e76320139616f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e76320139616f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5cebcd84667b7e65bc3a41bde30980d0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:53 GMT", - "MS-CV": "SRK9tSLvA0\u002BaRdMBqoo99w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LrikXwAAAABOqx1XwaUFS4lMcvIt5Y\u002B8WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "174ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630568659", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630568659", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630568659\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - }, - { - "id": "1604630568604", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630568604", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630568604\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003CrosterVersion\u003E1604630568524\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - } - ], - "nextLink": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e7632019c5e6f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19:0b834c1d42aa4a5499926c8974843a17@thread.v2/messages?syncState=3e2d00000031393a3062383334633164343261613461353439393932366338393734383433613137407468726561642e7632019c5e6f9b7501000056696f9b75010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "82aa4d5b89ab47da10801ca97de3979b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:54 GMT", - "MS-CV": "daz3JGrvmkuijruB4iZQiA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0LrikXwAAAAC9c7sepa6JTpr6iR9WHq0XWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "170ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630569826?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "47", - "Content-Type": "application/json", - "traceparent": "00-aafe66a3e853544a8ca0dd9d622ed569-f6f1b8cb9e599f40-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fd90fe58ff3500cf95dd145d0d770a70", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "content": "This is message 1 content updated" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:54 GMT", - "MS-CV": "XiYZQ4H6rEytSjxyQAUOUA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0LrikXwAAAABOpi0o9v0dQKk3he1s5WQsWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "467ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630569826?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-c1282648833162449fe44d4e7008fe5d-1ffa4c627abffd42-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8da789545691fb9cf2a34cfb4abc00d8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:54 GMT", - "MS-CV": "q4eU4fsN\u002B0OrCGLIsH6Acw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0L7ikXwAAAADAeLIs5GxyR62Edr7vufBoWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "119ms" - }, - "ResponseBody": { - "id": "1604630569826", - "type": "Text", - "priority": "High", - "version": "1604630574965", - "content": "This is message 1 content updated", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "editedOn": "2020-11-06T02:42:54Z" - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages/1604630569826?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-98d8a8111490e447b7480890128dc59a-c76bd3ce690a4d4e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e464a5a382785b9a7da9ecce747d3998", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:55 GMT", - "MS-CV": "VV7k47O3lEKMuVDyR6Q2xw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0L7ikXwAAAADHj7x3CzKnRoqS6ibxWrf2WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "285ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f454ab75093b010a62950b91b3d4b5d9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:55 GMT", - "MS-CV": "c8q5n1h6wkC6IZ8KNfut8w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0L7ikXwAAAAAzT4vfDbb9SIZUbs6wXbgDWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "134ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1604630569826", - "type": "Text", - "priority": "Normal", - "version": "1604630575553", - "content": "", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "deletedOn": "2020-11-06T02:42:54Z" - }, - { - "id": "1604630571350", - "type": "Text", - "priority": "High", - "version": "1604630571350", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630571043", - "type": "Text", - "priority": "High", - "version": "1604630571043", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:51Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630570748", - "type": "Text", - "priority": "High", - "version": "1604630570748", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630570452", - "type": "Text", - "priority": "High", - "version": "1604630570452", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-06T02:42:50Z", - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c" - }, - { - "id": "1604630569273", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630569273", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630569273\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:49Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - }, - { - "id": "1604630568659", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1604630568659", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1604630568659\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - }, - { - "id": "1604630568604", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1604630568604", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1604630568604\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/initiator\u003E\u003CrosterVersion\u003E1604630568524\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-06T02:42:48Z", - "senderId": "19:0b834c1d42aa4a5499926c8974843a17@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "68ba3bdc2612d2f7ee4c0fe76acd8674", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:55 GMT", - "MS-CV": "6OGW7vwEmEikBvG7PenU7Q.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0MLikXwAAAACiU0V7cpDISbYxmXL5cOJBWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "88ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "102", - "Content-Type": "application/json", - "traceparent": "00-31d18b2527aa664d9b34dd53f9366590-722d06f093f4cd41-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "9e85b36a0c67999d9b6282e37708a8a9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:56 GMT", - "MS-CV": "Lzxk6oqA6kGxmXvq4QGnRA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0MLikXwAAAACiASEwD5HDSq\u002BmPp7aEcNVWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "290ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "38f213f4d1c34f86b38205effa229794", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:56 GMT", - "MS-CV": "NNuPcPnQR020DeylfOqd2w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0MLikXwAAAABMghkj3fP3S7w9jBEu12XwWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "162ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/members/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fffa-80f5-8b3a0d000d1d?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-25078a61e6824a4fb65332fdca9c06f9-1bbf808eb92e9f49-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ff27960e164fd0719e20cdb0a3145ae5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:56 GMT", - "MS-CV": "vp0WJWxvbkaLlXZnrkVhNg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0MLikXwAAAAAB84nkJsBmTKLkXRlC58/fWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "369ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "56f366a34edb98b12d36ebe506ad9e78", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:56 GMT", - "MS-CV": "qVnPT/LOo0WxDqcT\u002BGSYrQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0MbikXwAAAACINMweTCejS76u1/32os7dWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "83ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-f824-80f5-8b3a0d000d1a", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fabc-80f5-8b3a0d000d1b", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-fd65-80f5-8b3a0d000d1c", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-a5fabb43c5df204eadf88c43e41feec8-e4ff7f061afff44a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e1d5eecaa8e1dd5aa12299a204d5ac9f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:57 GMT", - "MS-CV": "S9ICthHTL0WJiNXaVdTezQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0MbikXwAAAAAHntdZZCndTI\u002BpuuUsvoxdWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "101ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-dbb737c7d506a1488fe123c0142c937c-4fe54ca94e25c844-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "944b1f27402fbfb8e48ed1192b8cc9f0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:57 GMT", - "MS-CV": "hriNuKn93UajFW9SfjjBvg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0MbikXwAAAAC\u002BAyjAuVqARqEpPsbWpodCWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "101ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0b834c1d42aa4a5499926c8974843a17%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-94f3b08167fd4c45bce72b86d0017031-121f9961f9e41d4c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b5e55482793efa040c15b5b9b50e9457", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:57 GMT", - "MS-CV": "EffYE68xF0OjaJQ\u002BtXX8ng.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0MbikXwAAAABnSFHKtlcxRYvAMVtbhPJkWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "159ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "1595626480" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json new file mode 100644 index 000000000000..17499c5d94c0 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json @@ -0,0 +1,1929 @@ +{ + "Entries": [ + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:52:27 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "217e2246e013c768b6f1dc9ab73b87d5", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:27 GMT", + "MS-CV": "Tc8NSH9B4UGv2jzyaH7Hqg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0a0avXwAAAABLJg5IE7TqSpscizpIPTszWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "217e2246e013c768b6f1dc9ab73b87d5", + "X-Processing-Time": "141ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:52:28 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1fefd65d59b46a9eff2732f6ce5320e5", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:27 GMT", + "MS-CV": "9yic5VDeg0q/H3m1FE7ZvQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0bEavXwAAAACdbZIm6GU2T6mYCheiiyV3WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "1fefd65d59b46a9eff2732f6ce5320e5", + "X-Processing-Time": "295ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:52:27.5619482\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:52:49 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "832b94549addb2a18a345307124a8dfa", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:49 GMT", + "MS-CV": "9jlbCrSF/EKormPWyQhO4A.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0gUavXwAAAADTQOn20\u002B\u002BPSoj5uxkQkZ5SWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "832b94549addb2a18a345307124a8dfa", + "X-Processing-Time": "148ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:52:49 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e615ead9289feddc831322ebae71f963", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:49 GMT", + "MS-CV": "A\u002B0PcjtR/06Aki09hZB45g.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0gUavXwAAAABerOYjT9YbSrXxNzsdEFEgWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e615ead9289feddc831322ebae71f963", + "X-Processing-Time": "302ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:52:49.2480728\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:52:50 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2246f7d10410c2f7343c947f059658b4", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:49 GMT", + "MS-CV": "2A9pCwoBkEG4p/x5mPZXFg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0gkavXwAAAADXEHkTXDpJRbEM3\u002BZicL88WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "2246f7d10410c2f7343c947f059658b4", + "X-Processing-Time": "143ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:52:50 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e31c3799393e2b45b73effc978b50419", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:50 GMT", + "MS-CV": "jij2lrJCeEeJOM4ctFNKCQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0gkavXwAAAAAB0Vj9FXkXRY3F/duXk25gWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e31c3799393e2b45b73effc978b50419", + "X-Processing-Time": "293ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:52:49.937081\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1a36f03b6b04d5eaf252b263945ce8ed", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:50 GMT", + "MS-CV": "3TAZSmuZREOHr9mKBoCf4A.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0g0avXwAAAACyVw5bSkSwTI2lGZXnW5s9WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "1a36f03b6b04d5eaf252b263945ce8ed", + "X-Processing-Time": "146ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "76526dbb15559724b21a6ad1052e497e", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:50 GMT", + "MS-CV": "6TvcPDamXU\u002BwfnSikmK2Pw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0g0avXwAAAADDev6qCA6hQbPYka4krRR3WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "76526dbb15559724b21a6ad1052e497e", + "X-Processing-Time": "293ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:52:50.649365\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "14447b383d602eaf4d47f1eb87e2975a", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "MS-CV": "ZEPKUkYrNUGouGiHLqxGYg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0g0avXwAAAACjFFVWgXQYRpSyliCW8xkvWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "14447b383d602eaf4d47f1eb87e2975a", + "X-Processing-Time": "143ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0b0d12558d6325c3cc9e68ea0018d0c4", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:51 GMT", + "MS-CV": "7xJGzIm9pUyaMlc\u002BQRacGg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0hEavXwAAAABMzs6ug7jJR7kpZ5dWruzmWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "0b0d12558d6325c3cc9e68ea0018d0c4", + "X-Processing-Time": "296ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:52:51.3491854\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "319", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "182a3308d3187e8cbd23280e243810cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread sync from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:52 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2", + "MS-CV": "0//RV\u002BYgPEmROukawSJHQg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0hEavXwAAAAB3RaOZi7\u002BGSYxUCKK02\u002BeMWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "892ms" + }, + "ResponseBody": { + "id": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2", + "topic": "Thread sync from C# sdk", + "createdOn": "2020-11-14T02:52:52Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "319", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f37c0f823e20aa1bb71f48c1d4c52e35", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread sync from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:53 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A1edf725107e244c4a6d007afad2557fc@thread.v2", + "MS-CV": "djKdjN2iRUWLHODkWE1BZQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0hUavXwAAAABJZ\u002BUf1qIhR4DMnQ59\u002Bh9ZWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "824ms" + }, + "ResponseBody": { + "id": "19:1edf725107e244c4a6d007afad2557fc@thread.v2", + "topic": "Thread sync from C# sdk", + "createdOn": "2020-11-14T02:52:54Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "26", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "53e22c777fb78142858f4d4064b50093", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Launch meeting" + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:52:54 GMT", + "MS-CV": "bN9pr1d7lESc9H2tQrtPew.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0hkavXwAAAAC0eSLtf0W8QIwMg1NV/JW8WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "427ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f068988edd9bcaa4187f61f88bcba9f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:54 GMT", + "MS-CV": "EZ2S1kkImEq1RDbYD7AVnA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0h0avXwAAAAB4qdvMQvAjTq9zkNbmyQwmWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" + }, + "ResponseBody": { + "id": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2", + "topic": "Launch meeting", + "createdOn": "2020-11-14T02:52:52Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f797f3f4bc550318cdfa6d90f1da4601", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:55 GMT", + "MS-CV": "gKnxC0\u002BLt0GHB9ovwSMp5Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0h0avXwAAAAD59lY\u002BdDUnRJwfwLBV3jM2WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" + }, + "ResponseBody": { + "value": [ + { + "id": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2", + "topic": "Launch meeting", + "isDeleted": false, + "lastMessageReceivedOn": "2020-11-14T02:52:53Z" + }, + { + "id": "19:1edf725107e244c4a6d007afad2557fc@thread.v2", + "topic": "Thread sync from C# sdk", + "isDeleted": false, + "lastMessageReceivedOn": "2020-11-14T02:52:54Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3c33b51e3e5c9a9988183b371d49f6b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "{\u0022content\u0022:\u0022Let\u0027s meet at 11am\u0022}", + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:55 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2/messages/1605322376562", + "MS-CV": "iUmlbiX2lUKs73/XtWwmqg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0iEavXwAAAADGxUWDKO/aS4fO5OTA6hkJWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "394ms" + }, + "ResponseBody": { + "id": "1605322376562" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A1edf725107e244c4a6d007afad2557fc%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "714b54e6081ed13d806522a16f13d83d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:56 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A1edf725107e244c4a6d007afad2557fc@thread.v2/messages/1605322377084", + "MS-CV": "bI\u002BLE2IWuki1M0FYjGB5kw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0iEavXwAAAABbfHIg0pBCRoLBKRFujZPBWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "375ms" + }, + "ResponseBody": { + "id": "1605322377084" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d6d95f396d98b69b59fc6f3d81e0e583", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:56 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2/messages/1605322377578", + "MS-CV": "/wOzWoGe\u002B0iwBpHte8MN5Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0iUavXwAAAADTwGqD/XzHTY1ujkoFpOK5WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "390ms" + }, + "ResponseBody": { + "id": "1605322377578" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9ca9b303d48e16e27761bbf71bf82a74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:57 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2/messages/1605322378093", + "MS-CV": "edOZPbG0\u002BEGr9VWYGHVntA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0iUavXwAAAABlxafEW4BzRo9bB5nw4\u002B6GWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" + }, + "ResponseBody": { + "id": "1605322378093" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "befefd40206f7921b89518219900509f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:57 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2/messages/1605322378616", + "MS-CV": "AXLgvhfCuUCDJ2uxi9nYXA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0ikavXwAAAACqjISZhiDXTY1cJOzVh6wEWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "370ms" + }, + "ResponseBody": { + "id": "1605322378616" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "bb9d9f803b6a64af7dc35e36b1a49a61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:58 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941@thread.v2/messages/1605322379109", + "MS-CV": "1f8NLkPifkqtVD9DL\u002BGl5A.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0ikavXwAAAACchWM/Q1PfQLozeW2qmwOOWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "391ms" + }, + "ResponseBody": { + "id": "1605322379109" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322376562?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "83fcfad227e2e3139130e3f8bcc07d77", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:58 GMT", + "MS-CV": "GuJwrw\u002BKfUepQz2zvDCs4Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0i0avXwAAAAA94uxwPXv4T7mN5ce9ZkK7WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "260ms" + }, + "ResponseBody": { + "id": "1605322376562", + "type": "Text", + "priority": "Normal", + "version": "1605322376562", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-14T02:52:56Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A1edf725107e244c4a6d007afad2557fc%40thread.v2/messages/1605322377084?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7c771c116f5a040a4e9941acc1ebc814", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:59 GMT", + "MS-CV": "Bf3gMbQndkWXAChNuHROmg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0i0avXwAAAAD4vxIoREgzQYxDYjhJU\u002B4cWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "254ms" + }, + "ResponseBody": { + "id": "1605322377084", + "type": "Text", + "priority": "High", + "version": "1605322377084", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322377578?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9e4fb6facd0358bc8bb9293a58b6a7bc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:52:59 GMT", + "MS-CV": "cjtetVkAwkuJjOU3GYtBsA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jEavXwAAAAD/2r77BA7sQ6PBJQuRw/jxWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "id": "1605322377578", + "type": "Text", + "priority": "High", + "version": "1605322377578", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322378093?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9425e6461e2d6306eff83448e66722a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:00 GMT", + "MS-CV": "e1NB2I2LF06X5JQy9spWvg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jEavXwAAAABRUiYVzimERJw2VwqfgjFWWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" + }, + "ResponseBody": { + "id": "1605322378093", + "type": "Text", + "priority": "High", + "version": "1605322378093", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322378616?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "05fecf67de7143745f1ef0a045d0ac98", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:00 GMT", + "MS-CV": "14mTqlikzU2NWUyvYuYXIA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jEavXwAAAAB88HN7EdJuT6fX/wigZdEaWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "id": "1605322378616", + "type": "Text", + "priority": "High", + "version": "1605322378616", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322379109?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "da6584f133c6dce7b0ecae0a98747223", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:00 GMT", + "MS-CV": "DYFWPTrxoECQVSFx0rlrdg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jUavXwAAAACBJpNBBE5pS4Urry91FfsBWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "266ms" + }, + "ResponseBody": { + "id": "1605322379109", + "type": "Text", + "priority": "High", + "version": "1605322379109", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:59Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "88d28397a1b8674a72e1340e2d651d1f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:01 GMT", + "MS-CV": "ZhTwWTLP4kK3WJ8\u002Bhfqt1Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jUavXwAAAACPmum1ZJoFQ7Fjl9R66eU/WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "268ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322379109", + "type": "Text", + "priority": "High", + "version": "1605322379109", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:59Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322378616", + "type": "Text", + "priority": "High", + "version": "1605322378616", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322378093", + "type": "Text", + "priority": "High", + "version": "1605322378093", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322377578", + "type": "Text", + "priority": "High", + "version": "1605322377578", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322376562", + "type": "Text", + "priority": "Normal", + "version": "1605322376562", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-14T02:52:56Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + }, + { + "id": "1605322375109", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322375109", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322375109\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:55Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + }, + { + "id": "1605322373203", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322373203", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322373203\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + }, + { + "id": "1605322373156", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322373156", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322373156\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003CrosterVersion\u003E1605322372953\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A1edf725107e244c4a6d007afad2557fc%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "61569c4c470233e0e72255843069abeb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:01 GMT", + "MS-CV": "Y6ToB/8XtUOLrnnmQgur1Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jkavXwAAAAApGOboHDS8QLKiYqg6RESvWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "263ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322377084", + "type": "Text", + "priority": "High", + "version": "1605322377084", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + }, + { + "id": "1605322374319", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322374319", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322374303\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:54Z", + "senderId": "19:1edf725107e244c4a6d007afad2557fc@thread.v2" + }, + { + "id": "1605322374287", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322374287", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322374287\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003CrosterVersion\u003E1605322374100\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:52:54Z", + "senderId": "19:1edf725107e244c4a6d007afad2557fc@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c209cdab23fe50e03afd67e5ffd9ae4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:02 GMT", + "MS-CV": "69kQAHoyjUuPETmNGjqmIw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jkavXwAAAAAN4n8DFp1PQZxUxpka4lUtWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "264ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322379109", + "type": "Text", + "priority": "High", + "version": "1605322379109", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:59Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322378616", + "type": "Text", + "priority": "High", + "version": "1605322378616", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e763201788dabc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e763201788dabc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fbbe8fcf111d4f21a39ea1964cc63709", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:02 GMT", + "MS-CV": "fg4T6hvHUkSuFkLMHobiOg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0jkavXwAAAABmaF4SCvUlR4sFuIsBYEF0WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "376ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322378093", + "type": "Text", + "priority": "High", + "version": "1605322378093", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322377578", + "type": "Text", + "priority": "High", + "version": "1605322377578", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e7632016a89abc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e7632016a89abc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "606249355b5c2821bc062704e0fb340e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:03 GMT", + "MS-CV": "vzWWbJ6A/UybWRSHDlULCg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0j0avXwAAAACrFDtIYIZHTpkdAzQoqX6cWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "380ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322376562", + "type": "Text", + "priority": "Normal", + "version": "1605322376562", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-14T02:52:56Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9" + }, + { + "id": "1605322375109", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322375109", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322375109\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:55Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e763201c57fabc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e763201c57fabc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a0b50b73afaa9aceacba1f5f824a0373", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:03 GMT", + "MS-CV": "YYXdqjpPBEm5B1SWgoI15Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0j0avXwAAAAAC4jmzDbhbRYApPp5S8tKYWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "367ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322373203", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322373203", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322373203\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + }, + { + "id": "1605322373156", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322373156", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322373156\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003CrosterVersion\u003E1605322372953\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e7632012478abc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:dfab70238ae741a49baefc6c7fc81941@thread.v2/messages?syncState=3e2d00000031393a6466616237303233386165373431613439626165666336633766633831393431407468726561642e7632012478abc475010000658fabc475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b5af5ec54e7673ed6e963f16ea1c6fa7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:04 GMT", + "MS-CV": "rv/QctfCwEamG7cxFK16VA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0kEavXwAAAACJ6P5YvMT8Qo7KOiJ8/xpGWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "388ms" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322376562?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "48", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4022926a9710855f7bc8b4a23cc1a672", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "{\u0022content\u0022:\u0022Instead of 11am, let\u0027s meet at 2pm\u0022}", + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:53:04 GMT", + "MS-CV": "uXP84nItPU6bAf3Fb2WEKg.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0kEavXwAAAABfrrpJyzdlRbyBm72mbH/kWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "687ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322376562?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "823eb3027e4b25981d41321470b7b08f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:05 GMT", + "MS-CV": "wTcjX8Rs/UqbKKl9DagJeg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0kUavXwAAAACOAvNm1vQ7SYLwz03/iJejWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "id": "1605322376562", + "type": "Text", + "priority": "Normal", + "version": "1605322385489", + "content": "Instead of 11am, let\u0027s meet at 2pm", + "senderDisplayName": "", + "createdOn": "2020-11-14T02:52:56Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "editedOn": "2020-11-14T02:53:05Z" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages/1605322376562?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "eff4774bc3272e63fe293aad9a4b37ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 02:53:05 GMT", + "MS-CV": "oChARME6fEW60LwdHBtbHw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0kkavXwAAAAChSdPLIz2mSaxpOxY8G9l2WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "437ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3613ccefecddeb5cfafd22cf644b14c3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:06 GMT", + "MS-CV": "spSAduYv80KzsAIrMkDl3Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0kkavXwAAAACgPUYBpOibQI9\u002Byj5k/jZgWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "271ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322376562", + "type": "Text", + "priority": "Normal", + "version": "1605322386442", + "content": "", + "senderDisplayName": "", + "createdOn": "2020-11-14T02:52:56Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "deletedOn": "2020-11-14T02:53:05Z" + }, + { + "id": "1605322379109", + "type": "Text", + "priority": "High", + "version": "1605322379109", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:59Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322378616", + "type": "Text", + "priority": "High", + "version": "1605322378616", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322378093", + "type": "Text", + "priority": "High", + "version": "1605322378093", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:58Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322377578", + "type": "Text", + "priority": "High", + "version": "1605322377578", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:52:57Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb" + }, + { + "id": "1605322375109", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322375109", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322375109\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:55Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + }, + { + "id": "1605322373203", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322373203", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322373203\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + }, + { + "id": "1605322373156", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322373156", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322373156\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/initiator\u003E\u003CrosterVersion\u003E1605322372953\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:52:53Z", + "senderId": "19:dfab70238ae741a49baefc6c7fc81941@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c4572418b6cd3f4b5010832244ea8ad2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:07 GMT", + "MS-CV": "6xKjL0IzuUGFuFDZk35GiA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0k0avXwAAAAD\u002BmDC351yYT5VF7OYddalyWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "768ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a424860979a35eb11a09f529a093c9b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:53:07 GMT", + "MS-CV": "OHRzk9FHlUqVuSTlhW63gA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0lEavXwAAAACS\u002B3FLoaSxRKivJKlh0de6WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "437ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7595761473f439df81d4e6cd693aa60f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:53:36 GMT", + "MS-CV": "W\u002BYuAdtO5UiKGAhljG2HdA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0r0avXwAAAADJN8J5VyG9Qo0YquKRnfpAWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "732ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "dec5507270279f2073f8a9c4c1219ebc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:51 GMT", + "MS-CV": "QdRL4\u002BIP3kWc1Vkr0Yx8Ag.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0v0avXwAAAABaN9BRXEoxRYH5veeI/nuoWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "269ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-148c-557d-5a3a0d0002bc?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ce0dcf46155596dea7eb22ce92e4f4e0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 02:53:54 GMT", + "MS-CV": "HbcE5VpeUkGLktPLiOXeWA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0wkavXwAAAAAjP0dt1\u002Bk6R40u8hRnLlI9WVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "446ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "50b7e562ebcea38c55f502fbc91a7760", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:53:57 GMT", + "MS-CV": "YRMX9W3X6ke1fOlx8eKJPw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0xUavXwAAAABYq\u002B/l7sivR7KUdWcTuNAMWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "261ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648c-ba35-557d-5a3a0d0002b9", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-0f14-557d-5a3a0d0002ba", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-11ce-557d-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-648d-1752-557d-5a3a0d0002bd", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99862a36d82c5db9722f373c4d510c8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:54:00 GMT", + "MS-CV": "99fA5pvUvUee2T5JgkmYQA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0x0avXwAAAABRkdmkSoVmSJcWurSKpbYiWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "377ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "db62c9044d695bed4369785f13e2cc8c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:54:02 GMT", + "MS-CV": "LLKzSJ3BVkOvQEYOX9nLKQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0ykavXwAAAABsy1nHkXHkSrjkRd1A/zMqWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "346ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Adfab70238ae741a49baefc6c7fc81941%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6798c2735b5d89b32c5ade9fb4505604", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 02:54:03 GMT", + "MS-CV": "wxQCfjHS8UWLxNexpVjdBQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0y0avXwAAAADpx0WcfNTgRZ\u002BU383KLbfOWVRPMDFFREdFMDYxNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "291ms" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "1875608064" + } +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json new file mode 100644 index 000000000000..b15f88277bb7 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json @@ -0,0 +1,2017 @@ +{ + "Entries": [ + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:57:38 GMT", + "Request-Id": "00-ec004215af268f46b922e107ddfc3563-3e57c9caf7023045-00", + "traceparent": "00-ec004215af268f46b922e107ddfc3563-3e57c9caf7023045-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "32a019322ca40fb98182f25f2d7de9a9", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:38 GMT", + "MS-CV": "1EenI1oY8k\u002B6tPqhrTK5ug.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0o0evXwAAAAAsQ415E2qsQaJRjuuFusNIWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "32a019322ca40fb98182f25f2d7de9a9", + "X-Processing-Time": "191ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:57:39 GMT", + "Request-Id": "00-84bf233d83f90241a0bd0f08dbc748da-e303585d66859c4e-00", + "traceparent": "00-84bf233d83f90241a0bd0f08dbc748da-e303585d66859c4e-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "af153f9566ca7176c486f3109bd4f65f", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:39 GMT", + "MS-CV": "ydTzu0AlBUO6Ybde4uYFGg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0o0evXwAAAAD464a90vtIRLHvaOzsvjeIWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "af153f9566ca7176c486f3109bd4f65f", + "X-Processing-Time": "647ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:57:38.4523198\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:57:40 GMT", + "Request-Id": "00-055c66098d509d4bac0664116fb6408a-a7c34a5a1484464d-00", + "traceparent": "00-055c66098d509d4bac0664116fb6408a-a7c34a5a1484464d-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "91aa22177bd6c9203f83f48e1eeb69dc", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:39 GMT", + "MS-CV": "GNtELvb22U6DNr2TQTyGYw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pEevXwAAAADRLIExibGcSoah3kEAaq2MWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "91aa22177bd6c9203f83f48e1eeb69dc", + "X-Processing-Time": "141ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:57:40 GMT", + "Request-Id": "00-475e5bd7f3d9a5418d4ff5e8912a9b21-dd18b5f2f986c54a-00", + "traceparent": "00-475e5bd7f3d9a5418d4ff5e8912a9b21-dd18b5f2f986c54a-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4e30bbf78382cb19a22f6d1e38a873ac", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:40 GMT", + "MS-CV": "22WdEoVbwkmszkgezOI6XQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pEevXwAAAABSSbOuQtOBS4l6I2gzlzzvWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "4e30bbf78382cb19a22f6d1e38a873ac", + "X-Processing-Time": "302ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:57:40.2506044\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:57:41 GMT", + "Request-Id": "00-ccfd3b69dc45ef47b53b5385c527b140-c6794103a87c9343-00", + "traceparent": "00-ccfd3b69dc45ef47b53b5385c527b140-c6794103a87c9343-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0a48938c57d219d31f4b704672e752d8", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:40 GMT", + "MS-CV": "mUsNUK8B80W9C\u002BRLKc/Lnw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pUevXwAAAABY/kkswj4qSJrVq95jDbN9WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "0a48938c57d219d31f4b704672e752d8", + "X-Processing-Time": "143ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:57:41 GMT", + "Request-Id": "00-01238b6c13c5fe4685a51f71259abada-9e271b76e851814a-00", + "traceparent": "00-01238b6c13c5fe4685a51f71259abada-9e271b76e851814a-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e019171da7a493dc08deeea70d019096", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:41 GMT", + "MS-CV": "vLHuCP1OIk\u002BSH048xqReSQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pUevXwAAAAD0l3q\u002BQqMtR41NOnDsewBfWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e019171da7a493dc08deeea70d019096", + "X-Processing-Time": "760ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:57:40.4922193\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:57:42 GMT", + "Request-Id": "00-4508f1e4c3c3ca47849cb9cac6fdcb4d-12826f675b5f8443-00", + "traceparent": "00-4508f1e4c3c3ca47849cb9cac6fdcb4d-12826f675b5f8443-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8a0147105ea39f09e8162e3713d359ba", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:42 GMT", + "MS-CV": "l83hoyN4P02yo/hay/VVKA.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pkevXwAAAABdxhhQD1jUS7hceTpSMPgrWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "8a0147105ea39f09e8162e3713d359ba", + "X-Processing-Time": "142ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:57:42 GMT", + "Request-Id": "00-ab503fb01f781f4795cd82df120bbb4a-1074f402fd74864c-00", + "traceparent": "00-ab503fb01f781f4795cd82df120bbb4a-1074f402fd74864c-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "210194dc938fe508b7b401f3692b0b1e", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:42 GMT", + "MS-CV": "Pq4ZtbEMHkCEeTsoGYa8QA.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pkevXwAAAAA/sumuflF7QpMNuNbe4m6ZWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "210194dc938fe508b7b401f3692b0b1e", + "X-Processing-Time": "303ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:57:42.2984845\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Sat, 14 Nov 2020 02:57:43 GMT", + "Request-Id": "00-fa3109a66655e94e87652e7f3dfdb9bc-edb6dda7250f3340-00", + "traceparent": "00-fa3109a66655e94e87652e7f3dfdb9bc-edb6dda7250f3340-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2a36d9bac8e6be350d79f88d79a58035", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:42 GMT", + "MS-CV": "XgKODdQSoEeWHqr2VeJf5A.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0p0evXwAAAACQRBCqbZCbRbKH7ZTpb9UoWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "2a36d9bac8e6be350d79f88d79a58035", + "X-Processing-Time": "142ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Sat, 14 Nov 2020 02:57:43 GMT", + "Request-Id": "00-94b4cdd48c00be4c8c4236ec3f57ae9a-2b3666657a1bd046-00", + "traceparent": "00-94b4cdd48c00be4c8c4236ec3f57ae9a-2b3666657a1bd046-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "79cb33856fff7d073e1cd3ef5c1536bc", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:43 GMT", + "MS-CV": "yAYOfoTLkkWTccjjaRA7Ug.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0p0evXwAAAAAoZM1aFQvETKZZwieCyepfWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "79cb33856fff7d073e1cd3ef5c1536bc", + "X-Processing-Time": "300ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279", + "token": "Sanitized", + "expiresOn": "2020-11-15T02:57:43.0824392\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "320", + "Content-Type": "application/json", + "Request-Id": "00-5c294bcfbada6141b190785ba686f712-98565fbcfea91741-00", + "traceparent": "00-5c294bcfbada6141b190785ba686f712-98565fbcfea91741-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "397c100a2e9d13d45f4213159a7b6b11", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread async from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:44 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2", + "MS-CV": "lHOShLXIgUSp6uFOLl1ikA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qEevXwAAAACXAjyF6VHHQqzGKfe6xGbTWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1140ms" + }, + "ResponseBody": { + "id": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2", + "topic": "Thread async from C# sdk", + "createdOn": "2020-11-14T02:57:45Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "320", + "Content-Type": "application/json", + "Request-Id": "00-7bdc45e9c7600247b2d81692f78e5d1b-2880dd1449f2cd4c-00", + "traceparent": "00-7bdc45e9c7600247b2d81692f78e5d1b-2880dd1449f2cd4c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "356ecc33925f4b1ed1b8ecc9f54562f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread async from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:57:45 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Ab3d78a2279e04277a1164568081ad0ad@thread.v2", + "MS-CV": "zhGE0jgynUKPrd5YkD5dhA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qUevXwAAAACksr93aSkqQIB3XVgGnpmEWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "829ms" + }, + "ResponseBody": { + "id": "19:b3d78a2279e04277a1164568081ad0ad@thread.v2", + "topic": "Thread async from C# sdk", + "createdOn": "2020-11-14T02:57:46Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "34", + "Content-Type": "application/json", + "Request-Id": "00-883835d8ff234146af95dbb7fa5425b6-e5db5d5f065f5744-00", + "traceparent": "00-883835d8ff234146af95dbb7fa5425b6-e5db5d5f065f5744-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "68823b43462956985fb819bd5bf2e2c3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Updated topic - C# sdk" + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:58:10 GMT", + "MS-CV": "i\u002Bay2/\u002B4NkuKfPlzwxeyhg.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0wkevXwAAAAAoPTqkY6dCSpC4pAcd44b\u002BWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "386ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-752e29eeb177084fb33b329a7f12a6b3-5431813a51977f42-00", + "traceparent": "00-752e29eeb177084fb33b329a7f12a6b3-5431813a51977f42-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8fbbc1b001a7785df23068e4420b1e19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:58:21 GMT", + "MS-CV": "Ylysndq6tEOkz63tj7vPsw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0zUevXwAAAACQhI7NFrTyQ4HWH\u002B7DZAC9WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "254ms" + }, + "ResponseBody": { + "id": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2", + "topic": "Updated topic - C# sdk", + "createdOn": "2020-11-14T02:57:45Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f3-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5fd11be003f8ede83317d6a77961f0df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:58:23 GMT", + "MS-CV": "1PEftevPW0u4glu9e5cphA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0zkevXwAAAACefretLGHmS7GHK39JNltQWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "384ms" + }, + "ResponseBody": { + "value": [ + { + "id": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2", + "topic": "Updated topic - C# sdk", + "isDeleted": false, + "lastMessageReceivedOn": "2020-11-14T02:57:45Z" + }, + { + "id": "19:b3d78a2279e04277a1164568081ad0ad@thread.v2", + "topic": "Thread async from C# sdk", + "isDeleted": false, + "lastMessageReceivedOn": "2020-11-14T02:57:46Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-e24d92d5704cab45bb0912ecb3d6fe71-a5b287585e38d747-00", + "traceparent": "00-e24d92d5704cab45bb0912ecb3d6fe71-a5b287585e38d747-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "331828d6d28a4250dd0a76f9deb41453", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:58:40 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2/messages/1605322720064", + "MS-CV": "oByt0znz5EC9FKLBncR0gg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "030evXwAAAACwOmr7ptiURIJZ/PFDpC4zWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "852ms" + }, + "ResponseBody": { + "id": "1605322720064" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ab3d78a2279e04277a1164568081ad0ad%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-97a9fbb1dd7c744eaa1bf2fe7a2a38e6-c2f4d04263aeb04d-00", + "traceparent": "00-97a9fbb1dd7c744eaa1bf2fe7a2a38e6-c2f4d04263aeb04d-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3fddff998220adcad9ce5c8f2ab6ff90", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:04 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Ab3d78a2279e04277a1164568081ad0ad@thread.v2/messages/1605322744435", + "MS-CV": "PLvXzdQwzEKUMQeZ9rf/2g.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BEevXwAAAADM9pvA67BsTrpKVtXexJhZWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "397ms" + }, + "ResponseBody": { + "id": "1605322744435" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-08d2aa266cc7b74fa512dd14efa85232-06bfac7fe2dc2b4f-00", + "traceparent": "00-08d2aa266cc7b74fa512dd14efa85232-06bfac7fe2dc2b4f-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "190d8940eaf20d8fcb8f82ed8def0f7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:05 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2/messages/1605322746087", + "MS-CV": "vIGtvd\u002B6FUydVEEFPtu1zw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BUevXwAAAABFZyY3hvgxSa9va\u002B32aNtVWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "372ms" + }, + "ResponseBody": { + "id": "1605322746087" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-f1d2d557fec0e740a547a03f8d9b1d96-bdfb41417f8b144e-00", + "traceparent": "00-f1d2d557fec0e740a547a03f8d9b1d96-bdfb41417f8b144e-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "790d8203b08454be5d6b5abc76c11727", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:07 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2/messages/1605322747311", + "MS-CV": "r9rI664q402NGyEZXP4Y6g.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002B0evXwAAAAB/Q8jfm6vaRrnnDhZUJaS0WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "402ms" + }, + "ResponseBody": { + "id": "1605322747311" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-77c8a76cc401be4b90f3dee19a995643-3395b53acfd4524f-00", + "traceparent": "00-77c8a76cc401be4b90f3dee19a995643-3395b53acfd4524f-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "55b8e50bfaa6af616fcf749100dc20ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:16 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2/messages/1605322756891", + "MS-CV": "gOzxzmkN20K29cW/KvJD3w.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0BEivXwAAAACaCGRfaVFeTo4Oja9e5vi6WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "397ms" + }, + "ResponseBody": { + "id": "1605322756891" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "Request-Id": "00-f860caccc8a1ef4e8a564650acf8cc05-74cd8a38547d5949-00", + "traceparent": "00-f860caccc8a1ef4e8a564650acf8cc05-74cd8a38547d5949-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a88cdcbf85a88f0ccab9bb8790d39609", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:17 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23@thread.v2/messages/1605322757453", + "MS-CV": "4EQuRjzGmUudzmKby5KEqQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0BUivXwAAAAAaJaoM2d39QqP\u002Btz9ZqUUzWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "393ms" + }, + "ResponseBody": { + "id": "1605322757453" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322720064?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-a63c915494ed0f47b704ab5cef118865-05694e0132ef6e4c-00", + "traceparent": "00-a63c915494ed0f47b704ab5cef118865-05694e0132ef6e4c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a7e25a77b93608d8215e09b43c2d5380", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:17 GMT", + "MS-CV": "cHQ20tSzs0\u002BH9AMi\u002B6\u002BTiA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0BUivXwAAAACZcvmtYdkrTb99Oq5ZYQkxWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "261ms" + }, + "ResponseBody": { + "id": "1605322720064", + "type": "Text", + "priority": "High", + "version": "1605322720064", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:58:40Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ab3d78a2279e04277a1164568081ad0ad%40thread.v2/messages/1605322744435?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-47625112c436094ca2252a3a103afe8a-6efa3cc4dd41f748-00", + "traceparent": "00-47625112c436094ca2252a3a103afe8a-6efa3cc4dd41f748-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99fd704a6e35857ed8298aed3ed91f9c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:18 GMT", + "MS-CV": "dIrDG7ij10qCtf9TS2Kz/Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0BkivXwAAAAC23\u002BfIoVqySKEbTwiSYUtAWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "id": "1605322744435", + "type": "Text", + "priority": "High", + "version": "1605322744435", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:04Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322746087?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-82b65c75dbd7ad46b7e64bb42a4e0621-cf99e81a0f077c45-00", + "traceparent": "00-82b65c75dbd7ad46b7e64bb42a4e0621-cf99e81a0f077c45-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a5196a3878fa05b30483874a7b58539d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:18 GMT", + "MS-CV": "2uH7jT3DU0WFyWtGUJ3cjQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0BkivXwAAAABX91NAO4i8QLaRuWxmPiHkWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "263ms" + }, + "ResponseBody": { + "id": "1605322746087", + "type": "Text", + "priority": "High", + "version": "1605322746087", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:06Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322747311?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-8b7aac60c0f8e64ab59f40e94c32ccba-dd9755ce3877264c-00", + "traceparent": "00-8b7aac60c0f8e64ab59f40e94c32ccba-dd9755ce3877264c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1f3c3b65fdd609d4dc5cce0c2febc947", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:18 GMT", + "MS-CV": "aF8y1J\u002BDdEeU4iCsbdy8CQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0B0ivXwAAAAD4yaoFfNB2R6MyHmKTy\u002BMfWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "265ms" + }, + "ResponseBody": { + "id": "1605322747311", + "type": "Text", + "priority": "High", + "version": "1605322747311", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:07Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322756891?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-516d087d26e1c144bacca29587d8ef3f-ebc7459130e16b4e-00", + "traceparent": "00-516d087d26e1c144bacca29587d8ef3f-ebc7459130e16b4e-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d17b6d3eae13d186bcf795b1e7330a80", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:19 GMT", + "MS-CV": "EKxmCFwmGkiO6cA/eGiQoA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0B0ivXwAAAAAPoqqf3M\u002ByR4yFzrnpMJ1cWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "267ms" + }, + "ResponseBody": { + "id": "1605322756891", + "type": "Text", + "priority": "High", + "version": "1605322756891", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:16Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322757453?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-23ce51c2797df54a8269875d99ae3cbd-44f89906ddaefd4a-00", + "traceparent": "00-23ce51c2797df54a8269875d99ae3cbd-44f89906ddaefd4a-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0387ecd6ff9c3bc59610c89da9a7d518", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:19 GMT", + "MS-CV": "QhaWCYEv\u002Bk63MbuSPyZGaw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0B0ivXwAAAAAb50yBdG3cSYOs4yuIpJeAWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "261ms" + }, + "ResponseBody": { + "id": "1605322757453", + "type": "Text", + "priority": "High", + "version": "1605322757453", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:17Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f4-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0e0c3fba81dcb789b46a63de682321a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:20 GMT", + "MS-CV": "iOiiLbAdm0WP/FCIwLAoWw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CEivXwAAAABc5Bm//VtUQ4LIOkU\u002BJqPMWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "274ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322757453", + "type": "Text", + "priority": "High", + "version": "1605322757453", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:17Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322756891", + "type": "Text", + "priority": "High", + "version": "1605322756891", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:16Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322747311", + "type": "Text", + "priority": "High", + "version": "1605322747311", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:07Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322746087", + "type": "Text", + "priority": "High", + "version": "1605322746087", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:06Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322720064", + "type": "Text", + "priority": "High", + "version": "1605322720064", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:58:40Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + }, + { + "id": "1605322691195", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322691195", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322691195\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:58:11Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + }, + { + "id": "1605322665252", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322665252", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322665252\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + }, + { + "id": "1605322665220", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322665220", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322665220\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003CrosterVersion\u003E1605322665049\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ab3d78a2279e04277a1164568081ad0ad%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f5-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "42364e52c5633faba7403b03e5e82715", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:20 GMT", + "MS-CV": "T0vJBmx0E0K/a5DgDKMjPw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CEivXwAAAACVlkwVjbqeR71RDkpTcuL9WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "270ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322744435", + "type": "Text", + "priority": "High", + "version": "1605322744435", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:04Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + }, + { + "id": "1605322666341", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322666341", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322666341\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:57:46Z", + "senderId": "19:b3d78a2279e04277a1164568081ad0ad@thread.v2" + }, + { + "id": "1605322666310", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322666310", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322666310\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003CrosterVersion\u003E1605322666138\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:57:46Z", + "senderId": "19:b3d78a2279e04277a1164568081ad0ad@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f6-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a7f67c22fb2754a363d04e319ce7d372", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:21 GMT", + "MS-CV": "iSruw5/Jdkmx7K0p04XbKw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CUivXwAAAABcFEk8PP0jTYsxrVaGHQzzWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "273ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322757453", + "type": "Text", + "priority": "High", + "version": "1605322757453", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:17Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322756891", + "type": "Text", + "priority": "High", + "version": "1605322756891", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:16Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e7632011b53b1c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e7632011b53b1c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f7-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5b4b20ee9370f4b494cc679c4686d1cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:21 GMT", + "MS-CV": "iJaKPmHa4Ea1N02vvXjs4Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CUivXwAAAACPIcIiCEAzTI7uX5JUnGTvWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "378ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322747311", + "type": "Text", + "priority": "High", + "version": "1605322747311", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:07Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322746087", + "type": "Text", + "priority": "High", + "version": "1605322746087", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:06Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e763201e728b1c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e763201e728b1c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f8-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ebbc4d427a2c5781aae1df937779a3c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:22 GMT", + "MS-CV": "g/T/UJ5i202eCOFyLdLgWg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CkivXwAAAADFJr0poW89R7FaTngFIg5TWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "378ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322720064", + "type": "Text", + "priority": "High", + "version": "1605322720064", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:58:40Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275" + }, + { + "id": "1605322691195", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322691195", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322691195\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:58:11Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e7632017b52b0c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e7632017b52b0c4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72f9-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c514c86ccc9d8ea5c702135a94060edc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:22 GMT", + "MS-CV": "je2wL\u002BQyake4m\u002BFT1JL0GA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0CkivXwAAAABthFt3CrTkSbcMougyYOlWWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "380ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322665252", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322665252", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322665252\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + }, + { + "id": "1605322665220", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322665220", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322665220\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003CrosterVersion\u003E1605322665049\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e76320104edafc4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:acc37bbf3b7f448391c248084aa4ea23@thread.v2/messages?syncState=3e2d00000031393a6163633337626266336237663434383339316332343830383461613465613233407468726561642e76320104edafc4750100004d55b1c475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72fa-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4eee82ffe72a74459ff4b08eb4217d1a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:23 GMT", + "MS-CV": "p2nkxS0ojUe8rGdx9jel3A.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0C0ivXwAAAADQzbYbLLZ7T7P8xELhGHlCWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "382ms" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322720064?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "47", + "Content-Type": "application/json", + "Request-Id": "00-80e1cf114bc9584e9c9549caa86c5a8f-483b4ad6b05b524a-00", + "traceparent": "00-80e1cf114bc9584e9c9549caa86c5a8f-483b4ad6b05b524a-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7d2fa6290b71762ea82d232a6626c2a4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "content": "This is message 1 content updated" + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:59:24 GMT", + "MS-CV": "lwcd9sUTTU2/IhF7qDMovA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0DEivXwAAAAAfGGqNw1DBSLbr7dAV7qIHWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "670ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322720064?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-6195a4c3c0a0f9469319ded70f0aa3ff-a7d920c975d8054c-00", + "traceparent": "00-6195a4c3c0a0f9469319ded70f0aa3ff-a7d920c975d8054c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f49402d3548a859583a026a91c16daa6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:24 GMT", + "MS-CV": "NwFXv5HXEU2wBWbXtGdjSQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0DEivXwAAAAARxJFjuzb/RIMlMSfN6fn6WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "270ms" + }, + "ResponseBody": { + "id": "1605322720064", + "type": "Text", + "priority": "High", + "version": "1605322764607", + "content": "This is message 1 content updated", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:58:40Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "editedOn": "2020-11-14T02:59:24Z" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages/1605322720064?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-ecab280e4171154cbc9f8b91eb18cb9a-5026cbfd37906b44-00", + "traceparent": "00-ecab280e4171154cbc9f8b91eb18cb9a-5026cbfd37906b44-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ed31f88491d7f36b5378a6fcc31b0d78", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 02:59:25 GMT", + "MS-CV": "iBg6tcWJnkCyWPxJg4QCng.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0DUivXwAAAAATLZMYnwVtRoKxzF2g2GL4WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "446ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72fb-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b1bb0c31898dd59010aaf9d0e5855a92", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:25 GMT", + "MS-CV": "uw3YmrL8kk\u002B9l8PcBYHAqQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0DkivXwAAAACLcQh580UaTaQ/sERIr8p1WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "280ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605322720064", + "type": "Text", + "priority": "Normal", + "version": "1605322765672", + "content": "", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:58:40Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "deletedOn": "2020-11-14T02:59:24Z" + }, + { + "id": "1605322757453", + "type": "Text", + "priority": "High", + "version": "1605322757453", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:17Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322756891", + "type": "Text", + "priority": "High", + "version": "1605322756891", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:16Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322747311", + "type": "Text", + "priority": "High", + "version": "1605322747311", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:07Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322746087", + "type": "Text", + "priority": "High", + "version": "1605322746087", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-14T02:59:06Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277" + }, + { + "id": "1605322691195", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322691195", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322691195\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:58:11Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + }, + { + "id": "1605322665252", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605322665252", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605322665252\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + }, + { + "id": "1605322665220", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605322665220", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605322665220\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/initiator\u003E\u003CrosterVersion\u003E1605322665049\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-14T02:57:45Z", + "senderId": "19:acc37bbf3b7f448391c248084aa4ea23@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72fc-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6ea67d53d5f441cc96a1a112ad99c167", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:26 GMT", + "MS-CV": "SmyiuSO8L0KxZpXvm\u002B2L0Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0DkivXwAAAADxkjbPVkljQpUUbhVTg8K/WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "737ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "Request-Id": "00-07103e048a1fb541809ecc61f380005f-03f912ab55e30144-00", + "traceparent": "00-07103e048a1fb541809ecc61f380005f-03f912ab55e30144-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0f78ad92285afb19685bdc2c979a0dcd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:59:27 GMT", + "MS-CV": "yLzGWI2UckGw9y38OKxQRQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0D0ivXwAAAACEDMiXtKWlTaLZ\u002Bipmbr7/WVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "398ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "Request-Id": "00-606f757bab213c4aa3934246ca61bdd5-cc19377b0439f34b-00", + "traceparent": "00-606f757bab213c4aa3934246ca61bdd5-cc19377b0439f34b-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "46a9141e9f755b843f7a1bebe87d2777", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 02:59:35 GMT", + "MS-CV": "Xj3hkJI\u002Bdka4Y76jKNiu0A.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0F0ivXwAAAADt4h8CkEhnS6Jn8fGQtZuVWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "398ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72fd-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "373e92e94a0d2a3763aa0598f8a0a9fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 02:59:58 GMT", + "MS-CV": "Gm/tDE/fQEGItrJuwz6ycA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0L0ivXwAAAAA7MqgQpyoXTa0FL8pkWYBTWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "260ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-879c-d67a-5a3a0d000278?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-a3b2bdaca56abb4c921ebb8f99d4ad1e-d49feac53561f943-00", + "traceparent": "00-a3b2bdaca56abb4c921ebb8f99d4ad1e-d49feac53561f943-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99f4d3937bf0f3f2291cd0e00d2d13ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 03:00:01 GMT", + "MS-CV": "yzWUfPwRtEi/XXcWKfhJnQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0MUivXwAAAACH62eovJtJTpda6GItQ9HuWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "481ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "|803a72fe-4a09221b1271ca4b.", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "05436434d55cd4c0dc7ee2ca99eb629f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 14 Nov 2020 03:00:02 GMT", + "MS-CV": "5O7NsyICk0WoHg11fygXsQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0M0ivXwAAAADaBVa3jB9jRoqYwFSGx1BUWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7aae-d67a-5a3a0d000275", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-7f91-d67a-5a3a0d000276", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-82c2-d67a-5a3a0d000277", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-6491-8aaa-d67a-5a3a0d000279", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-e0a3a0da49af2341976d21a6d552dc20-5560b0f4c0808e4c-00", + "traceparent": "00-e0a3a0da49af2341976d21a6d552dc20-5560b0f4c0808e4c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "14581fd08d896e879f4a0ef179571d36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 03:00:03 GMT", + "MS-CV": "BLvTKHdnKEmTRUO9gpIdWA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0NEivXwAAAACLeMD/F610T6VjH02i1NcwWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "378ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-ac9cf60d4512204d9cfa463730af02d3-ecdcb440ee33064b-00", + "traceparent": "00-ac9cf60d4512204d9cfa463730af02d3-ecdcb440ee33064b-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "94641a97a45cbd9e131fbd719827593e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Sat, 14 Nov 2020 03:00:05 GMT", + "MS-CV": "pbadoDuLDkOwlAdtUTStmA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0NUivXwAAAAD1bjhHa7BZSrceXJe37t7EWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "377ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aacc37bbf3b7f448391c248084aa4ea23%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Request-Id": "00-cd6cede46e41044983fd9aae5b781b6f-99c6933860a4a641-00", + "traceparent": "00-cd6cede46e41044983fd9aae5b781b6f-99c6933860a4a641-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201113.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ed0f31b9fed4a661ddd56511c7ce5a85", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Sat, 14 Nov 2020 03:00:05 GMT", + "MS-CV": "jGsxLgCVd0qjHTrEhP8XAA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0NkivXwAAAAC0YYToa8vkTJHnRFWoGVrwWVRPMDFFREdFMDYwNwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "293ms" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "772597927" + } +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs index eae03526feb7..b40cc749a512 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs @@ -31,11 +31,11 @@ public async Task CreateGetUpdateDeleteThreadAsync() #endregion Snippet:Azure_Communication_Chat_Tests_Samples_CreateChatClient #region Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread - var chatThreadMember = new ChatThreadMember(new CommunicationUser(threadCreatorId)) + var chatParticipant = new ChatParticipant(new CommunicationUser(threadCreatorId)) { DisplayName = "UserDisplayName" }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; #endregion Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread @@ -53,7 +53,7 @@ public async Task CreateGetUpdateDeleteThreadAsync() #region Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread var topic = "new topic"; - await chatThreadClient.UpdateThreadAsync(topic); + await chatThreadClient.UpdateTopicAsync(topic); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread #region Snippet:Azure_Communication_Chat_Tests_Samples_DeleteThread @@ -63,8 +63,8 @@ public async Task CreateGetUpdateDeleteThreadAsync() #region Snippet:Azure_Communication_Chat_Tests_Samples_Troubleshooting try { - /*@@*/ chatThreadMember = new ChatThreadMember(new CommunicationUser("invalid user")); - ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + /*@@*/ chatParticipant = new ChatParticipant(new CommunicationUser("invalid user")); + ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); } catch (RequestFailedException ex) { diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs index 21479c0c622a..8a41c4f3021a 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs @@ -28,22 +28,21 @@ public async Task SendGetUpdateDeleteMessagesSendNotificationReadReceiptsAsync() new Uri(endpoint), new CommunicationUserCredential(userToken)); - var chatThreadMember = new ChatThreadMember(new CommunicationUser(theadCreatorMemberId)) + var chatParticipant = new ChatParticipant(new CommunicationUser(theadCreatorMemberId)) { DisplayName = "UserDisplayName", ShareHistoryTime = DateTime.MinValue }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; #region Snippet:Azure_Communication_Chat_Tests_Samples_SendMessage var content = "hello world"; var priority = ChatMessagePriority.Normal; var senderDisplayName = "sender name"; - SendChatMessageResult sendMessageResult = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); + var messageId = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); #endregion Snippet:Azure_Communication_Chat_Tests_SendMessage - var messageId = sendMessageResult.Id; #region Snippet:Azure_Communication_Chat_Tests_Samples_GetMessage ChatMessage chatMessage = await chatThreadClient.GetMessageAsync(messageId); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_GetMessage @@ -66,8 +65,8 @@ public async Task SendGetUpdateDeleteMessagesSendNotificationReadReceiptsAsync() #endregion Snippet:Azure_Communication_Chat_Tests_Samples_SendReadReceipt #region Snippet:Azure_Communication_Chat_Tests_Samples_GetReadReceipts - AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); - await foreach (ReadReceipt readReceipt in allReadReceipts) + AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); + await foreach (ChatMessageReadReceipt readReceipt in allReadReceipts) { Console.WriteLine($"{readReceipt.ChatMessageId}:{readReceipt.Sender.Id}:{readReceipt.ReadOn}"); } diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs deleted file mode 100644 index 74d19c28149d..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading.Tasks; -using Azure.Communication.Administration; -using Azure.Communication.Administration.Models; -using Azure.Communication.Identity; -using Azure.Core.TestFramework; -using NUnit.Framework; - -namespace Azure.Communication.Chat.Tests.samples -{ - public partial class Sample3_MemberOperations : SamplesBase - { - // This sample demonstrates the operations that can be performed on a thread for members: add, get and remove members - [Test] - public async Task GetAddRemoveMembersAsync() - { - CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.ConnectionString); - Response threadMember1 = await communicationIdentityClient.CreateUserAsync(); - Response threadMember2 = await communicationIdentityClient.CreateUserAsync(); - Response threadMember3 = await communicationIdentityClient.CreateUserAsync(); - - CommunicationUserToken communicationUserToken1 = await communicationIdentityClient.IssueTokenAsync(threadMember1.Value, new[] { CommunicationTokenScope.Chat }); - CommunicationUserToken communicationUserToken2 = await communicationIdentityClient.IssueTokenAsync(threadMember2.Value, new[] { CommunicationTokenScope.Chat }); - CommunicationUserToken communicationUserToken3 = await communicationIdentityClient.IssueTokenAsync(threadMember3.Value, new[] { CommunicationTokenScope.Chat }); - string userToken = communicationUserToken1.Token; - string endpoint = TestEnvironment.ChatApiUrl(); - string theadCreatorMemberId = communicationUserToken1.User.Id; - - ChatClient chatClient = new ChatClient( - new Uri(endpoint), - new CommunicationUserCredential(userToken)); - - var chatThreadMember = new ChatThreadMember(new CommunicationUser(theadCreatorMemberId)) - { - DisplayName = "UserDisplayName", - ShareHistoryTime = DateTime.MinValue - }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); - string threadId = chatThreadClient.Id; - - #region Snippet:Azure_Communication_Chat_Tests_Samples_GetMembers - AsyncPageable allMembers = chatThreadClient.GetMembersAsync(); - await foreach (ChatThreadMember member in allMembers) - { - Console.WriteLine($"{member.User.Id}:{member.DisplayName}:{member.ShareHistoryTime}"); - } - #endregion Snippet:Azure_Communication_Chat_Tests_GetMembers - - var memberId1 = theadCreatorMemberId; - var memberId2 = communicationUserToken2.User.Id; - var memberId3 = communicationUserToken3.User.Id; - - #region Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers - var members = new[] - { - new ChatThreadMember(new CommunicationUser(memberId1)) { DisplayName ="display name member 1"}, - new ChatThreadMember(new CommunicationUser(memberId2)) { DisplayName ="display name member 2"}, - new ChatThreadMember(new CommunicationUser(memberId3)) { DisplayName ="display name member 3"} - }; - await chatThreadClient.AddMembersAsync(members); - #endregion Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers - - var memberId = memberId2; - #region Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember - await chatThreadClient.RemoveMemberAsync(new CommunicationUser(memberId)); - #endregion Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember - - await chatClient.DeleteChatThreadAsync(threadId); - - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs new file mode 100644 index 000000000000..febaf7df8c15 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading.Tasks; +using Azure.Communication.Administration; +using Azure.Communication.Administration.Models; +using Azure.Communication.Identity; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.Communication.Chat.Tests.samples +{ + public partial class Sample3_ParticipantOperations : SamplesBase + { + // This sample demonstrates the operations that can be performed on a thread for participants: add, get and remove participants + [Test] + public async Task GetAddRemoveMembersAsync() + { + CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.ConnectionString); + Response user1 = await communicationIdentityClient.CreateUserAsync(); + Response user2 = await communicationIdentityClient.CreateUserAsync(); + Response user3 = await communicationIdentityClient.CreateUserAsync(); + + CommunicationUserToken communicationUserToken1 = await communicationIdentityClient.IssueTokenAsync(user1.Value, new[] { CommunicationTokenScope.Chat }); + CommunicationUserToken communicationUserToken2 = await communicationIdentityClient.IssueTokenAsync(user2.Value, new[] { CommunicationTokenScope.Chat }); + CommunicationUserToken communicationUserToken3 = await communicationIdentityClient.IssueTokenAsync(user3.Value, new[] { CommunicationTokenScope.Chat }); + string userToken = communicationUserToken1.Token; + string endpoint = TestEnvironment.ChatApiUrl(); + string theadCreatorUserId = communicationUserToken1.User.Id; + + ChatClient chatClient = new ChatClient( + new Uri(endpoint), + new CommunicationUserCredential(userToken)); + + var chatParticipant = new ChatParticipant(new CommunicationUser(theadCreatorUserId)) + { + DisplayName = "UserDisplayName", + ShareHistoryTime = DateTime.MinValue + }; + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); + string threadId = chatThreadClient.Id; + + #region Snippet:Azure_Communication_Chat_Tests_Samples_GetParticipants + AsyncPageable allParticipants = chatThreadClient.GetParticipantsAsync(); + await foreach (ChatParticipant participant in allParticipants) + { + Console.WriteLine($"{participant.User.Id}:{participant.DisplayName}:{participant.ShareHistoryTime}"); + } + #endregion Snippet:Azure_Communication_Chat_Tests_GetMembers + + var participantId1 = theadCreatorUserId; + var participantId2 = communicationUserToken2.User.Id; + var participantId3 = communicationUserToken3.User.Id; + + #region Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants + var participants = new[] + { + new ChatParticipant(new CommunicationUser(participantId1)) { DisplayName ="display name participant 1"}, + new ChatParticipant(new CommunicationUser(participantId2)) { DisplayName ="display name participant 2"}, + new ChatParticipant(new CommunicationUser(participantId3)) { DisplayName ="display name participant 3"} + }; + await chatThreadClient.AddParticipantsAsync(participants); + #endregion Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants + + var participantId = participantId2; + #region Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant + await chatThreadClient.RemoveParticipantAsync(new CommunicationUser(participantId)); + #endregion Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant + + await chatClient.DeleteChatThreadAsync(threadId); + + } + } +}