MessageOriginHiddenUser class
This object represents a message that was originally sent by an unknown user.
- Implemented types
Constructors
- MessageOriginHiddenUser({required int date, required String senderUserName})
-
Constructor
const
-
MessageOriginHiddenUser.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
- senderUserName → String
-
Name of the user that sent the message originally
final
- type → MessageOriginType
-
Type of the message origin, always “hidden_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