[Core -> Message] Add docComments
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user