[Core -> Message] Add docComments

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-02-19 18:16:58 +05:30
parent 24d7866456
commit 0b58969d6f
@@ -123,17 +123,19 @@ class Message {
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly) @JsonKey(includeIfNull: false, toJson: Serialization.readOnly)
final User user; final User user;
/// /// If true the message is pinned
final bool pinned; final bool pinned;
/// Reserved field indicating when the message was created. /// Reserved field indicating when the message was pinned
@JsonKey(toJson: Serialization.readOnly) @JsonKey(toJson: Serialization.readOnly)
final DateTime pinnedAt; final DateTime pinnedAt;
/// Reserved field indicating when the message was created. /// Reserved field indicating when the message will expire
///
/// if `null` message has no expiry
final DateTime pinExpires; final DateTime pinExpires;
/// /// Reserved field indicating who pinned the message
@JsonKey(toJson: Serialization.readOnly) @JsonKey(toJson: Serialization.readOnly)
final User pinnedBy; final User pinnedBy;