diff --git a/CHANGELOG.md b/CHANGELOG.md index abfb59d..52878d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [Unreleased] * **Fix**: [26](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/26) Rename `updateAt` to `updatedAt` in `Message` model for consistency +* **Docs**: [27](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/27)Update `voiceMessageDuration` doc comment in `Message` and `ReplyMessage` ## 3.0.0 diff --git a/lib/src/models/data_models/message.dart b/lib/src/models/data_models/message.dart index f21c4b9..4e412d0 100644 --- a/lib/src/models/data_models/message.dart +++ b/lib/src/models/data_models/message.dart @@ -130,7 +130,7 @@ class Message { /// Status of the message. final ValueNotifier _status; - /// Provides max duration for recorded voice message. + /// Duration of the voice message. Duration? voiceMessageDuration; /// Provides message's current status. diff --git a/lib/src/models/data_models/reply_message.dart b/lib/src/models/data_models/reply_message.dart index 125b403..1ea4247 100644 --- a/lib/src/models/data_models/reply_message.dart +++ b/lib/src/models/data_models/reply_message.dart @@ -59,7 +59,7 @@ class ReplyMessage { /// {@macro chatview_utils.enumeration.MessageType} final MessageType messageType; - /// Provides max duration for recorded voice message. + /// Duration of the voice message. final Duration? voiceMessageDuration; /// Id of message, it replies to.