MessageOriginUser class

This object represents a message that was originally sent by a known user.

Implemented types

Constructors

MessageOriginUser({required int date, required User senderUser})
Constructor
const
MessageOriginUser.fromJson(Map<String, dynamic> json)
Constructor from JSON data
factory

Properties

date int
Date the message was sent originally in Unix time
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderUser User
User that sent the message originally
final
type MessageOriginType
Type of the message origin, always “user”
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON encodable Map
override
toString() String
A string representation of this object.
inherited

Operators

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