Skip to content

Commit

Permalink
[Communication] - Chat - update message.Content to message.Content.Me…
Browse files Browse the repository at this point in the history
…ssage, removal to removed (#19387)

* update message.Content to message.Content.Message

* change Removal to Removed

* remove mentions of Identifier serialization from the change log

* remove the place holder update phrase "Updated `Azure.Communication.Chat` version."

* add Breaking Changes sub-header

* move  - Removed support for nullable reference types. under breaking change section
  • Loading branch information
glorialimicrosoft authored Mar 9, 2021
1 parent 629c70d commit 8b31f48
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions sdk/communication/Azure.Communication.Chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Release History

## 1.0.0-beta.5 (2021-03-09)
Updated `Azure.Communication.Chat` version.
- Added identifier serialization in Chat
- Updated the SDK to use `CommunicationIdentifier` changes everywhere instead of string Id
- Removal of nullable references
- Added unit test and live test coverage

### Breaking Changes

- Added support for communication identifiers instead of raw strings.
- Removed support for nullable reference types.

### Added

- Added unit test and live test coverage.

## 1.0.0-beta.4 (2021-02-09)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/Azure.Communication.Chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Use `GetMessages` to retrieve all messages for the chat thread.
AsyncPageable<ChatMessage> allMessages = chatThreadClient.GetMessagesAsync();
await foreach (ChatMessage message in allMessages)
{
Console.WriteLine($"{message.Id}:{message.Content}");
Console.WriteLine($"{message.Id}:{message.Content.Message}");
}
```
### Update a message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task SendGetUpdateDeleteMessagesSendNotificationReadReceiptsAsync()
AsyncPageable<ChatMessage> allMessages = chatThreadClient.GetMessagesAsync();
await foreach (ChatMessage message in allMessages)
{
Console.WriteLine($"{message.Id}:{message.Content}");
Console.WriteLine($"{message.Id}:{message.Content.Message}");
}
#endregion Snippet:Azure_Communication_Chat_Tests_Samples_GetMessages

Expand Down

0 comments on commit 8b31f48

Please sign in to comment.