ChannelMessageSummary class

A summary of the messages in a channel.

Constructors

ChannelMessageSummary({String? content, DateTime? createdTimestamp, DateTime? lastEditedTimestamp, DateTime? lastUpdatedTimestamp, String? messageId, String? metadata, bool? redacted, Identity? sender, ChannelMessageType? type})
ChannelMessageSummary.fromJson(Map<String, dynamic> json)
factory

Properties

content String?
The content of the message summary.
final
createdTimestamp DateTime?
The time at which the message summary was created.
final
hashCode int
The hash code for this object.
no setterinherited
lastEditedTimestamp DateTime?
final
lastUpdatedTimestamp DateTime?
final
messageId String?
The ID of the message summary.
final
metadata String?
The metadata of the message summary.
final
redacted bool?
Redacts the content of a message summary.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender Identity?
The sender of the message summary.
final
type ChannelMessageType?
The type of message summary.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited