MessageOriginChannel class
This object represents a message that was originally sent to a channel chat.
- Implemented types
Constructors
- MessageOriginChannel({required int date, required Chat chat, required int messageId, String? authorSignature})
-
Constructor
const
-
MessageOriginChannel.fromJson(Map<
String, dynamic> json) -
Constructor from JSON data
factory
Properties
-
Signature of the original post author
final
- chat → Chat
-
Channel chat to which the message was originally sent
final
- date → int
-
Date the message was sent originally in Unix time
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
Unique message identifier inside the chat
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → MessageOriginType
-
Type of the message origin, always “channel”
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