ChatForward class

Quote of a ChatItem forwarded to some Chat.

Inheritance
Available extensions
Annotations

Constructors

ChatForward(ChatItemId id, ChatId chatId, User author, PreciseDateTime at, {required ChatItemQuote quote})
ChatForward.fromJson(Map<String, dynamic> json)
Constructs a ChatForward from the provided json.
factory

Properties

at PreciseDateTime
PreciseDateTime when this ChatItem was posted.
getter/setter pairinherited
author User
User who posted this ChatItem.
finalinherited
chatId ChatId
ID of the Chat this ChatItem was posted in.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id ChatItemId
Unique ID of this ChatItem.
finalinherited
key ChatItemKey
Returns combined at and id unique identifier of this ChatItem.
no setterinherited
quote ChatItemQuote
ChatItemQuote of the forwarded ChatItem.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Rx<SendingStatus>
SendingStatus of this ChatItem.
finalinherited

Methods

isEditable(Chat chat, UserId me) bool

Available on ChatItem, provided by the IsChatItemEditable extension

Indicates whether this ChatItem is editable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this ChatForward.
override
toString() String
A string representation of this object.
inherited

Operators

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